Skip to content

Commit

Permalink
Update 40-install
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus authored Dec 2, 2023
1 parent 55d85dd commit 1a600d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root/etc/cont-init.d/40-install
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ elif [[ ! -d /config/www/organizr/.git ]]; then
exit
)
git config --global --add safe.directory /config/www
git config --global --add safe.directory /config/www/organizr
git rev-parse HEAD >/config/www/organizr/Github.txt
elif [[ -d /config/www/organizr/.git ]]; then
echo '-----------------------'
Expand All @@ -59,6 +60,8 @@ elif [[ -d /config/www/organizr/.git ]]; then
echo 'Failed to load Organizr repository folder'
exit 0
)
git config --global --add safe.directory /config/www
git config --global --add safe.directory /config/www/organizr
git fetch
git reset --hard origin/"$(cat /Docker.txt)"
git checkout "$(cat /Docker.txt)"
Expand Down

0 comments on commit 1a600d3

Please sign in to comment.