Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Containerised Git LFS installation
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Git LFS
Containerised Git LFS installation
Commits
26c52506
Verified
Commit
26c52506
authored
2 years ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Update start.sh
parent
6cf142f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/start.sh
+7
-4
7 additions, 4 deletions
scripts/start.sh
with
7 additions
and
4 deletions
scripts/start.sh
+
7
−
4
View file @
26c52506
...
...
@@ -23,7 +23,7 @@ sed -i 's/git lfs install/#git lfs install/g' install.sh
echo
'
# According to https://www.debian.org/doc/debian-policy/ch-opersys.html#site-specific-programs
if [[ "$
PREFIX
" == "/usr/local" && -e /tmp/etc/staff-group-for-usr-local ]]; then
if [[ "$
prefix
" == "/usr/local" && -e /tmp/etc/staff-group-for-usr-local ]]; then
perm=2775
group=staff
else
...
...
@@ -32,9 +32,11 @@ else
fi
mkdir -p $prefix/share
mkdir -m$perm -p $prefix/share/man
mkdir -p $prefix/share/man
chmod $perm $prefix/share/man
chown root:$group $prefix/share/man
mkdir -m$perm -p $prefix/share/man/man1
mkdir -p $prefix/share/man/man1
chmod $perm $prefix/share/man/man1
chown root:$group $prefix/share/man/man1
rm -rf $prefix/share/man/man1/git-lfs*
...
...
@@ -50,7 +52,8 @@ pushd "$( dirname "${BASH_SOURCE[0]}" )/man$suffix" > /dev/null
done
popd > /dev/null
mkdir -m$perm -p $prefix/share/man/man5
mkdir -p $prefix/share/man/man5
chmod $perm $prefix/share/man/man5
chown root:$group $prefix/share/man/man5
rm -rf $prefix/share/man/man5/git-lfs*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment