[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/scripts
From: Stephan Kulow <coolo () kde ! org>
Date: 2003-09-22 11:36:42
[Download RAW message or body]
CVS commit by coolo:
don't bother with the root password if the directory is just not there :)
M +2 -1 kde-build 1.96
--- kdesdk/scripts/kde-build #1.95:1.96
@@ -352,9 +352,10 @@
#
if [ "$INSTALLFROMSCRATCH" = yes ]; then
+ mkdir $KDEDIRS 2> /dev/null
if [ ! -w $KDEDIRS ]; then
echo "Enter the root password to clean the installation directory."
echo "WARNING: All files and directories in $KDEDIRS will be deleted!"
echo -n "Please enter root "
- su -c "rm -rf $KDEDIRS/*"
+ eval "$cmd_sudo rm -rf $KDEDIRS/*"
else
rm -rf $KDEDIRS/*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic