fatal "There is missed /usr/sbin path in PATH. Probably you have used 'su' without '-' to get root access. Use 'esu' or 'su -' command to get root permissions."
}
SUDO_TESTED=''
SUDO_CMD='sudo'
set_sudo()
...
...
@@ -390,6 +403,8 @@ set_sudo()
return
fi
check_su_root
# if we are root, do not need sudo
is_root &&return
...
...
@@ -9141,6 +9156,8 @@ __epm_repack_to_deb()
TDIR="$(mktemp-d--tmpdir=$BIGTMPDIR)"|| fatal
remove_on_exit $TDIR
umask 022
for pkg in$pkgs;do
abspkg="$(realpath"$pkg")"
info "Repacking $abspkg to local deb format (inside $TDIR) ..."
fatal "There is missed /usr/sbin path in PATH. Probably you have used 'su' without '-' to get root access. Use 'esu' or 'su -' command to get root permissions."
}
SUDO_TESTED=''
SUDO_CMD='sudo'
set_sudo()
...
...
@@ -391,6 +404,8 @@ set_sudo()
return
fi
check_su_root
# if we are root, do not need sudo
is_root &&return
...
...
@@ -1890,9 +1905,9 @@ case $DISTRIB_ID in
;;
*)
if is_command "rpm"&&[-s /var/lib/rpm/Name ]||[-s /var/lib/rpm/rpmdb.sqlite ];then