Browse Source

Another Linux installer fix: do not clobber existing directory permissions!

Adam Ierymenko 11 years ago
parent
commit
aceb938e07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ext/installfiles/linux/install.tmpl.sh

+ 1 - 1
ext/installfiles/linux/install.tmpl.sh

@@ -64,7 +64,7 @@ echo 'Extracting files...'
 if [ $dryRun -gt 0 ]; then
 if [ $dryRun -gt 0 ]; then
 	echo ">> dry run: tail -c +$blobStart \"$scriptPath\" | gunzip -c | tar -xvop -C / -f -"
 	echo ">> dry run: tail -c +$blobStart \"$scriptPath\" | gunzip -c | tar -xvop -C / -f -"
 else
 else
-	tail -c +$blobStart "$scriptPath" | gunzip -c | tar -xvop -C / -f -
+	tail -c +$blobStart "$scriptPath" | gunzip -c | tar -xvop --no-overwrite-dir -C / -f -
 fi
 fi
 
 
 if [ $dryRun -eq 0 -a ! -d "/var/lib/zerotier-one" ]; then
 if [ $dryRun -eq 0 -a ! -d "/var/lib/zerotier-one" ]; then