gluon/package/gluon-core/files/usr/bin/gluon-reconfigure
lemoer adcd5b7311
gluon-core: add gluon-reconfigure script
Not useful by itself except for testing; will be used for multi-domain
support.

[Matthias Schiffer: rename script, use for initial configuration]
2018-01-19 01:10:39 +01:00

18 lines
257 B
Bash
Executable File

#!/bin/sh
cd /lib/gluon/upgrade || exit 1
err=0
for script in *; do
echo "Configuring: ${script}"
./"$script" || err=1
done
if [ $err -eq 1 ]; then
echo 'One or more upgrade scripts failed. Please review the above error messages.'
exit 1
fi
exit 0