Commit 668d85ea authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm update: enable fetching debugging when --debug

parent d59c4815
...@@ -91,7 +91,8 @@ case $BASEDISTRNAME in ...@@ -91,7 +91,8 @@ case $BASEDISTRNAME in
"alt") "alt")
# TODO: hack against cd to cwd in apt-get on ALT # TODO: hack against cd to cwd in apt-get on ALT
cd / cd /
sudocmd apt-get update local APTOPTIONS="$dryrun $(subst_option non_interactive -y) $(subst_option debug "-o Acquire::Verbose=1 -o Debug::pkgAcquire::Auth=1 -o Debug::identcdrom=1 -o Debug::Acquire::http=1 ")"
sudocmd apt-get update $APTOPTIONS
ret="$?" ret="$?"
cd - >/dev/null cd - >/dev/null
if [ "$ret" != "0" ] && [ -z "$quiet" ] ; then if [ "$ret" != "0" ] && [ -z "$quiet" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment