+2005-05-22 [paul]
+
+ * tools/kdeservicemenu/install.sh
+ use kdesu to prompt for root password if doing
+ global install/uninstall
+
2005-05-20 [colin] 1.9.11cvs2
* src/procmsg.c
PREFIX=$(kde-config --prefix)
echo "Installing in $PREFIX ..."
if [ "$(id -u)" != "0" ]; then
- echo "You are not root, as would be expected."
- echo "However, we will still attempt a system-wide install."
- echo "But, you probably don't have permission."
+ exec kdesu "$0 --global"
fi
install_all
;;
PREFIX=$(kde-config --prefix)
echo "Uninstalling in $PREFIX ..."
if [ "$(id -u)" != "0" ]; then
- echo "You are not root, if you have any global installs, you will probably not have permission to remove them."
+ exec kdesu "$0 --uninstall-global"
fi
uninstall_all
;;