소스 검색

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

Adam Ierymenko 11 년 전
부모
커밋
aceb938e07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 	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