Commit c22bab21 authored by Daniel's avatar Daniel

Update overlay/root/dev__update_git.sh

parent 578419f0
......@@ -12,15 +12,18 @@ check_installed_package(){
}
if ! $(check_installed_package git); then pkg install git; fi
if ! $(check_installed_package rsync); then pkg install rsync; fi
if [ ! -d "$dir_git_nc" ]; then
git clone https://code.myprivatesite.de/iocage-plugins/nextcloud.git $dir_git_nc
rsync -a ${dir_git_nc}/overlay/ /
rsync -a "${dir_git_nc}/overlay/" /
cd ${dir_git_nc}
git config pull.rebase true
else
cd ${dir_git_nc}
git config pull.rebase true
git pull
rsync -a ${dir_git_nc}/overlay/scripts /root/scripts
rsync -a "${dir_git_nc}/overlay/scripts/" /root/scripts/
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment