Back up to /boot to survive OLI rm
authorPhil Howard <phil@gadgetoid.com>
Wed, 3 Jul 2019 12:54:17 +0000 (13:54 +0100)
committerPhil Howard <phil@gadgetoid.com>
Wed, 3 Jul 2019 12:54:17 +0000 (13:54 +0100)
install.sh

index 9eda1f03e5181715e8b25477cf10b3dfe8d99474..5cde03b4128ef18e0da07bae5b6191c9892ac2f2 100755 (executable)
@@ -36,7 +36,7 @@ fi
 function do_config_backup {
        if [ ! $CONFIG_BACKUP == true ]; then
                CONFIG_BACKUP=true
-               FILENAME="config.preinstall-$LIBRARY_NAME-$DATESTAMP.txt"
+               FILENAME="/boot/config.preinstall-$LIBRARY_NAME-$DATESTAMP.txt"
                printf "Backing up $CONFIG to $FILENAME\n"
                cp $CONFIG $FILENAME
        fi