diff --git a/seqs/librenms.sh b/seqs/librenms.sh index 8653a45..7ea4f03 100755 --- a/seqs/librenms.sh +++ b/seqs/librenms.sh @@ -10,18 +10,19 @@ librePackages="fping git graphviz imagemagick mtr-tiny nmap python-memcache pyth step_1_info() { echo "Updating apt"; } +step_1_alias() { ALIAS="install"; } step_1() { apt update } -step_2_info() { echo -e "Installing $toolname dependencies: $librePackages\n"; } +step_2_info() { echo -e "Installing $toolname dependencies: $librePackages"; } step_2() { apt install $librePackages saveReturn $? endReturn } -step_3_info() { echo -e "Installing -t buster PHP related packages\n$librePhpDeps\n"; } +step_3_info() { echo -e "Installing -t buster PHP related packages:\n $librePhpDeps"; } step_3() { apt -t buster install $librePhpDeps saveReturn $? @@ -102,7 +103,7 @@ step_12() { echo "Ensure date.timezone is set in php.ini to your preferred time zone. See http://php.net/manual/en/timezones.php for a list of supported timezones. Valid examples are: \"America/New_York\", \"Europe/Berlin\", \"Etc/UTC\"." echo echo "vi /etc/php/7.3/fpm/conf.d/90-custom_pi.ini" - echo "vi /etc/php/7.3/cli/php.ini" + echo "vi /etc/php/7.3/cli/conf.d/90-custom_pi.ini" echo echo "-------------------------------------------" echo "date.timezone = Europe/Berlin" @@ -134,7 +135,7 @@ step_42() { } # Sequence Revision -VERSION_SEQREV=1 +VERSION_SEQREV=2 # Workaround when called from different directory # Not needed when path to sequencer is absolut