[PC-BSD Commits] r4637 - pbibuild/modules/math/pgcalc/overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Mon Oct 12 08:18:03 PDT 2009
Author: kris
Date: 2009-10-12 08:18:03 -0700 (Mon, 12 Oct 2009)
New Revision: 4637
Modified:
pbibuild/modules/math/pgcalc/overlay-dir/PBI.FirstRun.sh
Log:
Cleanup pgcalc
Modified: pbibuild/modules/math/pgcalc/overlay-dir/PBI.FirstRun.sh
===================================================================
--- pbibuild/modules/math/pgcalc/overlay-dir/PBI.FirstRun.sh 2009-10-12 15:15:33 UTC (rev 4636)
+++ pbibuild/modules/math/pgcalc/overlay-dir/PBI.FirstRun.sh 2009-10-12 15:18:03 UTC (rev 4637)
@@ -15,33 +15,3 @@
# echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
# echo 'MSG: <text>' # Display this text above progress bar
#########################################
-
-if [ -e "/usr/local/bin/amarok" ]
-then
- # Looks like K3b is installed, ask if they want to remove the old one
- ls -al /usr/local/bin/amarok | grep Programs 2>/dev/null
- if [ "$?" = "0" ]
- then
- kdialog --yesno "Amarok is already installed, do you wish to uninstall it?"
- if [ "$?" = "0" ]
- then
- AMA="`ls -al /usr/local/bin/amarok | cut -d '>' -f 2 | cut -d "/" -f 3`"
- echo $AMA | grep Amarok 2>/dev/null
- if [ "$?" = "0" ]
- then
- PBIdelete -remove ${AMA}
- else
- kdialog --sorry "Amarok could not be automatically removed... Please remove it in Add / Remove Programs and try again."
- return 2
- fi
- else
- kdialog --sorry "Amarok is already installed, it must be uninstalled before loading this PBI"
- return 2
- fi
-
- else
- # Could not find a link to PBI folder
- kdialog --sorry "Amarok is already installed, it must be uninstalled before loading this PBI"
- return 2
- fi
-fi
More information about the Commits
mailing list