diff --git a/conf/intel/repo/sabayon-limbo/packages.db.post_update.sh b/conf/intel/repo/sabayon-limbo/packages.db.post_update.sh index 0f6301b..130fc36 100644 --- a/conf/intel/repo/sabayon-limbo/packages.db.post_update.sh +++ b/conf/intel/repo/sabayon-limbo/packages.db.post_update.sh @@ -20,7 +20,7 @@ # PLEASE NOTE: this script is called automatically by entropy and, unless # requested otherwise, it should be NEVER EVER called by user. -[ "$UID" != "0" ] && echo && echo "Skipping update script, you are not root" && exit 0 +[ "$(id -u)" != "0" ] && echo && echo "Skipping update script, you are not root" && exit 0 [ -z "$3" ] && echo "not enough parameters" && exit 1 diff --git a/conf/intel/repo/sabayonlinux.org/packages.db.post_update.sh b/conf/intel/repo/sabayonlinux.org/packages.db.post_update.sh index 0f6301b..130fc36 100644 --- a/conf/intel/repo/sabayonlinux.org/packages.db.post_update.sh +++ b/conf/intel/repo/sabayonlinux.org/packages.db.post_update.sh @@ -20,7 +20,7 @@ # PLEASE NOTE: this script is called automatically by entropy and, unless # requested otherwise, it should be NEVER EVER called by user. -[ "$UID" != "0" ] && echo && echo "Skipping update script, you are not root" && exit 0 +[ "$(id -u)" != "0" ] && echo && echo "Skipping update script, you are not root" && exit 0 [ -z "$3" ] && echo "not enough parameters" && exit 1