Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nextcloud
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
iocage-plugins
nextcloud
Commits
2e8ba501
Commit
2e8ba501
authored
Nov 15, 2020
by
Daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update overlay/root/update_git.sh
parent
20b4a350
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
overlay/root/update_git.sh
overlay/root/update_git.sh
+3
-6
No files found.
overlay/root/update_git.sh
View file @
2e8ba501
...
...
@@ -16,15 +16,12 @@ 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
cd
${
dir_git_nc
}
rsync
-a
"
${
dir_git_nc
}
/overlay/root/"
/root/
else
cd
${
dir_git_nc
}
git config pull.rebase
true
git checkout
.
git pull
rsync
-a
"
${
dir_git_nc
}
/overlay/root/"
/root/
find /root/
-type
f
-iname
"*.sh"
-print0
| xargs
-0
chmod
+x
fi
rsync
-a
"
${
dir_git_nc
}
/overlay/root/"
/root/
find /root/
-type
f
-iname
"*.sh"
-print0
| xargs
-0
chmod
+x
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment