Skip to content
Snippets Groups Projects
Verified Commit 47f1196c authored by David Beniamine's avatar David Beniamine
Browse files

Script to generate dolibarr attestation file

parent 66a282f7
No related branches found
No related tags found
No related merge requests found
#!/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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment