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

This commit is contained in:
Adam Ierymenko 2014-02-14 21:45:42 -08:00
parent 68f44fb932
commit aceb938e07

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