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

small fixes

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