File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -563,18 +563,9 @@ echo \"$cmd_title\"
563
563
ghe-restore-repositories \" $GHE_HOSTNAME \" " )
564
564
565
565
cmd_title=$( log_info " Restoring Gists ..." )
566
- if [ " $GHE_PARALLEL_ENABLED " = " yes" ]; then
567
- # # Stagger ghe-restore-repositories-gist with ghe-restore-repositories to avoid
568
- # # race condition to operate on same destination directory
569
- commands+=("
570
- echo \" $cmd_title \"
571
- sleep 2
572
- ghe-restore-repositories-gist \" $GHE_HOSTNAME \" " )
573
- else
574
- commands+=("
575
- echo \" $cmd_title \"
576
- ghe-restore-repositories-gist \" $GHE_HOSTNAME \" " )
577
- fi
566
+ commands+=("
567
+ echo \" $cmd_title \"
568
+ ghe-restore-repositories-gist \" $GHE_HOSTNAME \" " )
578
569
579
570
if [ " $GHE_BACKUP_PAGES " != " no" ]; then
580
571
cmd_title=$( log_info " Restoring Pages ..." )
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ setup_remote_metadata () {
87
87
mkdir -p " $GHE_REMOTE_DATA_DIR " " $GHE_REMOTE_DATA_USER_DIR "
88
88
mkdir -p " $GHE_REMOTE_DATA_USER_DIR /common"
89
89
mkdir -p " $GHE_REMOTE_ROOT_DIR /etc/github"
90
+ # Create fake remote repositories dir
91
+ mkdir -p " $GHE_REMOTE_DATA_USER_DIR /repositories"
90
92
}
91
93
setup_remote_metadata
92
94
You can’t perform that action at this time.
0 commit comments