|
|
|
@ -3,7 +3,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: bin/sde-reschedule-package |
|
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
# Copyright (C) 2008 - 2010 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
@ -183,8 +183,10 @@ for x; do |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
[ $UID -eq 0 -o "$reschedule_dry" = "yes" ] || |
|
|
|
echo_abort 1 "You have to be superuser to proceed, sorry." |
|
|
|
[ -n "$UID" ] || UID=$(id -u) |
|
|
|
|
|
|
|
[ "$UID" = 0 -o "$reschedule_dry" = "yes" ] || |
|
|
|
echo_abort 1 "You have to be superuser to proceed, sorry." |
|
|
|
|
|
|
|
set -- $reschedule_packages |
|
|
|
|
|
|
|
|