fixes #2
Introduce versioning to sequencer and seqs Refactored sequencer option handling More robust way to include sequencer.sh to seqs
This commit is contained in:
@@ -112,5 +112,11 @@ step_20() {
|
||||
chmod 644 /etc/gitea/app.ini
|
||||
}
|
||||
|
||||
# Sequence Revision
|
||||
VERSION_SEQREV=1
|
||||
|
||||
# Workaround when called from different directory
|
||||
# Not needed when path to sequencer is absolut
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >>/dev/null 2>&1 && pwd )"
|
||||
# Path to sequencer
|
||||
. ../sequencer/sequencer.sh
|
||||
. ${DIR}/../sequencer/sequencer.sh
|
||||
|
@@ -132,5 +132,11 @@ step_42() {
|
||||
chmod -R ug=rwX /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
|
||||
}
|
||||
|
||||
# Sequence Revision
|
||||
VERSION_SEQREV=1
|
||||
|
||||
# Workaround when called from different directory
|
||||
# Not needed when path to sequencer is absolut
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >>/dev/null 2>&1 && pwd )"
|
||||
# Path to sequencer
|
||||
. ../sequencer/sequencer.sh
|
||||
. ${DIR}/../sequencer/sequencer.sh
|
||||
|
Reference in New Issue
Block a user