Skip to content

Commit 4b9eb81

Browse files
committed
Move safe directory
- Moved git safe directory
1 parent 425f5a0 commit 4b9eb81

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

invidious_installer.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,8 @@ fi
10411041
run_ok "sudo -i -u invidious \
10421042
git clone https://github.com/${IN_REPO}" "Cloning Invidious from github.com/${IN_REPO}"
10431043
cd - 1>/dev/null 2>&1 || exit 1
1044+
# Add invidious folder as safe directory
1045+
git config --global --add safe.directory ${REPO_DIR} >>"${RUN_LOG}" 2>&1
10441046
)
10451047
fi
10461048

@@ -1149,9 +1151,6 @@ host replication all ::1/128 md5" | ${SUDO} t
11491151
log_debug "Phase 4 of 4: Invidious Configuration"
11501152
printf "${GREEN}▣▣▣${YELLOW}${NORMAL} Phase ${YELLOW}4${NORMAL} of ${GREEN}4${NORMAL}: Setup Invidious\\n"
11511153

1152-
# Add invidious folder as safe directory
1153-
git config --global --add safe.directory ${REPO_DIR} >>"${RUN_LOG}" 2>&1
1154-
11551154
log_debug "Update config"
11561155
run_ok "update_config" "Updating config"
11571156
# Crystal complaining about permissions on CentOS and somewhat Debian

0 commit comments

Comments
 (0)