[PC-BSD Commits] r4674 - pbibuild/modules/multimedia/gxmms2/overlay-dir/bin

svn at pcbsd.org svn at pcbsd.org
Fri Oct 16 09:30:57 PDT 2009


Author: kris
Date: 2009-10-16 09:30:57 -0700 (Fri, 16 Oct 2009)
New Revision: 4674

Modified:
   pbibuild/modules/multimedia/gxmms2/overlay-dir/bin/xmms2-admin.sh
Log:

Opps, also commit fix to xmms2-admin while here



Modified: pbibuild/modules/multimedia/gxmms2/overlay-dir/bin/xmms2-admin.sh
===================================================================
--- pbibuild/modules/multimedia/gxmms2/overlay-dir/bin/xmms2-admin.sh	2009-10-16 16:25:59 UTC (rev 4673)
+++ pbibuild/modules/multimedia/gxmms2/overlay-dir/bin/xmms2-admin.sh	2009-10-16 16:30:57 UTC (rev 4674)
@@ -6,14 +6,6 @@
 
 PROGDIR=CHANGEME
 
-if [ -e "~/.kde4" ]
-then
-   KDEDIR=".kde4"
-else
-   KDEDIR=".kde"
-fi
-
-
 mkdir -p ~/.config/xmms2 2>/dev/null
 
 # Function to start xmms2d in the background
@@ -34,12 +26,12 @@
 
 # Function enable startup of xmms2d in the background
 enable_xmms2d() {
-  ln -s /Programs/bin/xmms2d ~${KDEDIR}/Autostart/xmms2d
+  ln -s /Programs/bin/xmms2d ~/.kde4/Autostart/xmms2d
 };
 
 # Function disable startup of xmms2d in the background
 disable_xmms2d() {
-  rm ~/${KDEDIR}/Autostart/xmms2d
+  rm ~/.kde4/Autostart/xmms2d
 };
 
 # Display help about this manager
@@ -75,7 +67,7 @@
 
 fi
 
-ls ~/${KDEDIR}/Autostart/xmms2d >/dev/null 2>/dev/null
+ls ~/.kde4/Autostart/xmms2d >/dev/null 2>/dev/null
 if [ "$?" = "0" ]
 then
   ENABLEOPT="disable"



More information about the Commits mailing list