Commit 5803812e authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent c0ec2b12
......@@ -28,6 +28,8 @@ load_helper()
load_helper epm-sh-functions
#PATH=$PATH:/sbin:/usr/sbin
set_sudo
check_tty
......@@ -189,7 +191,7 @@ for opt in "$@" ; do
--skip-installed) # HELPOPT: skip already install during install
skip_installed=1
;;
--show-command-only) # HELPOPT: show command only, do not any action
--show-command-only) # HELPOPT: show command only, do not any action (supports install and remove ONLY)
show_command_only=1
;;
--quiet) # HELPOPT: quiet mode (do not print commands before exec)
......
......@@ -39,6 +39,7 @@ case $PMTYPE in
;;
*)
epm_packages | grep "$pkg_filenames"
return
;;
esac
......
......@@ -44,7 +44,7 @@ real_file()
echo "Note: $TOFILE is link to $LINKTO"
real_file "$LINKTO"
fi
FULLFILEPATH=`readlink -f $TOFILE`
FULLFILEPATH=`realpath $TOFILE`
}
dpkg_print_name_version()
......
......@@ -33,7 +33,7 @@ epm_remove_low()
sudocmd pkg_delete -r $@
return ;;
emerge)
sudocmd emerge -unmerge $@
sudocmd emerge --unmerge $@
return ;;
slackpkg)
sudocmd /sbin/removepkg $@
......
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