Commit 7bc8cf78 authored by Vitaly Lipatov's avatar Vitaly Lipatov

print about eatmydata only for u/i/r

parent 7b5ea5a4
......@@ -37,7 +37,6 @@ load_helper epm-sh-functions
#PATH=$PATH:/sbin:/usr/sbin
set_sudo
set_eatmydata
check_tty
......@@ -337,6 +336,13 @@ if [ -z "$epm_cmd" ] ; then
fatal "Run $ $progname --help for get help"
fi
# Use eatmydata for write specific operations
case $epm_cmd in
update|upgrade|Upgrade|install|reinstall|Install|remove)
set_eatmydata
break;
esac
# Run helper for command
load_helper epm-$epm_cmd
epm_$epm_cmd
......
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