[Slim-Checkins] r33759 - in /7.7/trunk/platforms/readynas: squeezeboxserver_addon_i386/LogitechMediaServer/install.sh squeezeboxserver_addon_sparc/LogitechMediaServer/install.sh

[email protected]
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: mherger
Date: Tue Dec 20 22:37:13 2011
New Revision: 33759

URL: http://svn.slimdevices.com/slim?rev=33759&view=rev
Log:
Bug: 17819
Description: fix typo in condition

Modified:
    7.7/trunk/platforms/readynas/squeezeboxserver_addon_i386/LogitechMediaServer/install.sh
    7.7/trunk/platforms/readynas/squeezeboxserver_addon_sparc/LogitechMediaServer/install.sh

Modified: 7.7/trunk/platforms/readynas/squeezeboxserver_addon_i386/LogitechMediaServer/install.sh
URL: http://svn.slimdevices.com/slim/7.7/trunk/platforms/readynas/squeezeboxserver_addon_i386/LogitechMediaServer/install.sh?rev=33759&r1=33758&r2=33759&view=diff
==============================================================================
--- 7.7/trunk/platforms/readynas/squeezeboxserver_addon_i386/LogitechMediaServer/install.sh (original)
+++ 7.7/trunk/platforms/readynas/squeezeboxserver_addon_i386/LogitechMediaServer/install.sh Tue Dec 20 22:37:13 2011
@@ -64,12 +64,12 @@
 
 # Argh... ReadyNAS messes up the Samba configuration if there are folders in /c/ - let's hide ours
 # http://bugs.slimdevices.com/show_bug.cgi?id=17819
-if [ !-e /c/.squeezeboxserver/prefs/server.prefs ]; then
+if [ ! -e /c/.squeezeboxserver/prefs/server.prefs ]; then
   mv -f /c/squeezeboxserver /c/.squeezeboxserver > /dev/null 2>&1
 fi
 
 # we can't leave our files on the root partition, it's too small
-if [ !-e /c/.squeezeboxserver/prefs/server.prefs ]; then
+if [ ! -e /c/.squeezeboxserver/prefs/server.prefs ]; then
   mv -f /var/lib/squeezeboxserver/* /c/.squeezeboxserver/ > /dev/null 2>&1
   mv -f /var/log/squeezeboxserver/* /c/.squeezeboxserver/log/ > /dev/null 2>&1
 fi

Modified: 7.7/trunk/platforms/readynas/squeezeboxserver_addon_sparc/LogitechMediaServer/install.sh
URL: http://svn.slimdevices.com/slim/7.7/trunk/platforms/readynas/squeezeboxserver_addon_sparc/LogitechMediaServer/install.sh?rev=33759&r1=33758&r2=33759&view=diff
==============================================================================
--- 7.7/trunk/platforms/readynas/squeezeboxserver_addon_sparc/LogitechMediaServer/install.sh (original)
+++ 7.7/trunk/platforms/readynas/squeezeboxserver_addon_sparc/LogitechMediaServer/install.sh Tue Dec 20 22:37:13 2011
@@ -64,12 +64,12 @@
 
 # Argh... ReadyNAS messes up the Samba configuration if there are folders in /c/ - let's hide ours
 # http://bugs.slimdevices.com/show_bug.cgi?id=17819
-if [ !-e /c/.squeezeboxserver/prefs/server.prefs ]; then
+if [ ! -e /c/.squeezeboxserver/prefs/server.prefs ]; then
   mv -f /c/squeezeboxserver /c/.squeezeboxserver > /dev/null 2>&1
 fi
 
 # we can't leave our files on the root partition, it's too small
-if [ !-e /c/.squeezeboxserver/prefs/server.prefs ]; then
+if [ ! -e /c/.squeezeboxserver/prefs/server.prefs ]; then
   mv -f /var/lib/squeezeboxserver/* /c/.squeezeboxserver/ > /dev/null 2>&1
   mv -f /var/log/squeezeboxserver/* /c/.squeezeboxserver/log/ > /dev/null 2>&1
 fi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.