Commit d3f4f476 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: check PATH on any systems, add warning if sudo is used

parent ee640e94
......@@ -385,7 +385,7 @@ info()
check_su_root()
{
[ "$BASEDISTRNAME" = "alt" ] || return 0
#[ "$BASEDISTRNAME" = "alt" ] || return 0
is_root || return 0
......@@ -886,6 +886,8 @@ set_distro_info()
test_shell
[ -n "$SUDO_USER" ] && warning "It is not necessary to run epm using sudo."
assure_tmpdir
set_bigtmpdir
......
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