--- trunk/mage/usr/lib/mage/mage4.sh 2013/10/16 07:41:04 2222 +++ trunk/mage/usr/lib/mage/mage4.sh 2013/10/16 10:14:41 2233 @@ -139,6 +139,8 @@ case ${METHOD} in download) + have_root_privileges || die "You must be root to run this operation." + # first of all get the right pkg which going to be installed PCAT="$(pname2pcat ${MAGENAME})" @@ -170,6 +172,8 @@ ;; srcdownload) + have_root_privileges || die "You must be root to run this operation." + # first of all get the right pkg which going to be installed PCAT="$(pname2pcat ${MAGENAME})"