[or-cvs] r16563: {incognito} Do not use test syntax. (incognito/trunk/root_overlay/usr/sbin)

anonym at seul.org anonym at seul.org
Fri Aug 15 20:49:38 UTC 2008


Author: anonym
Date: 2008-08-15 16:49:38 -0400 (Fri, 15 Aug 2008)
New Revision: 16563

Modified:
   incognito/trunk/root_overlay/usr/sbin/enable-persistent-vol
Log:
Do not use test syntax.


Modified: incognito/trunk/root_overlay/usr/sbin/enable-persistent-vol
===================================================================
--- incognito/trunk/root_overlay/usr/sbin/enable-persistent-vol	2008-08-15 19:39:05 UTC (rev 16562)
+++ incognito/trunk/root_overlay/usr/sbin/enable-persistent-vol	2008-08-15 20:49:38 UTC (rev 16563)
@@ -14,7 +14,7 @@
 DIALOG="${DIALOG} --wrap --cr-wrap --left"          
 
 # there probably is a better way to determine if we run from CD or USB
-if [[ -e ${MEDIAROOT}/isolinux -a ! -e ${MEDIAROOT}/syslinux ]]; then
+if [[ -e ${MEDIAROOT}/isolinux ]] && [[ ! -e ${MEDIAROOT}/syslinux ]]; then
 	${DIALOG} --msgbox "You are running from CD. You need to run __INCOGNITO__ from USB in order to use a persistent home volume." 0 ${DEFAULT_WIDTH}
 	exit 1
 fi



More information about the tor-commits mailing list