Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NoCloud-Auto-Installer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
NoCloud-Auto-Installer
Commits
47f1196c
Verified
Commit
47f1196c
authored
May 25, 2018
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Script to generate dolibarr attestation file
parent
66a282f7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
attestDolibarr.sh
+17
-0
17 additions, 0 deletions
attestDolibarr.sh
with
17 additions
and
0 deletions
attestDolibarr.sh
0 → 100755
+
17
−
0
View file @
47f1196c
#!/bin/bash
.
main.env
dol_path
=
"/usr/share/dolibarr"
build_dir
=
"
$dol_path
/build"
gen_file
=
"
$build_dir
/generate_filelist_xml.php"
raw_url
=
"https://raw.githubusercontent.com/Dolibarr/dolibarr/develop/build/generate_filelist_xml.php"
if
[
!
-e
"
$gen_file
"
]
then
mkdir
-p
$build_dir
cd
$build_dir
wget
$raw_url
fi
sudo
-u
www-data php
$gen_file
release
=
auto
echo
"Now go to https://dolibarr.
$DOMAIN
/admin/system/filecheck.php"
echo
"Then click on verify to get the file list hash to put on the attestation"
echo
"Also extract the file
$dol_path
/htdocs/install/filelist-7.0.1.xml"
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
sign in
to comment