Commit dd3f5160 authored by Ivan Ivlev's avatar Ivan Ivlev Committed by Vitaly Lipatov

epm-install: fix --force-overwrite not working, add this option to help (eterbug #17603)

Signed-off-by: Ivan Ivlev's avatarIvan Ivlev <iviv@etersoft.ru>
parent 44105c8c
......@@ -589,7 +589,7 @@ check_option()
--no-check-certificate)
fatal "--no-check-certificate is a wget option. It is recommended never use it at all. Check the date or upgrade your system."
;;
--force-overwrite)
--force-overwrite) # HELPOPT: force overwrite one package's file with another's file
force_overwrite="--force-overwrite"
;;
-*)
......
......@@ -88,7 +88,7 @@ epm_install_names()
fi
if [ -n "$force_overwrite" ] ; then
APTOPTIONS="$APTOPTIONS -o Dpkg::Options::=\"--force-overwrite\""
APTOPTIONS="$APTOPTIONS -o Dpkg::Options::=--force-overwrite"
fi
case $PMTYPE in
......
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