We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffc921c + 6915543 commit 3531210Copy full SHA for 3531210
share/github-backup-utils/ghe-backup-config
@@ -677,14 +677,15 @@ restore-secret() {
677
init-progress() {
678
if [ -d /tmp/backup-utils-progress ]; then
679
rm -rf /tmp/backup-utils-progress/*
680
- else
681
- mkdir /tmp/backup-utils-progress
682
fi
+
+ mkdir -p /tmp/backup-utils-progress
683
+ chmod -R 777 /tmp/backup-utils-progress
684
685
touch /tmp/backup-utils-progress/total
686
touch /tmp/backup-utils-progress/type
687
touch /tmp/backup-utils-progress/progress
688
touch /tmp/backup-utils-progress/info
- chmod -R 777 /tmp/backup-utils-progress
689
}
690
691
#increase total count of progress
0 commit comments