Bladeren bron

install: Fixing code typo

The last bracket shall not be glued to the directory.

The actual code is generating a runtime error like the following :
 erwan@raspberrypi:~/download/log2ram $ sudo ./install.sh
 Created symlink /etc/systemd/system/sysinit.target.wants/log2ram.service → /etc/systemd/system/log2ram.service.
 ./install.sh: 19: [: missing ]
 ##### Reboot to activate log2ram #####

This patch simply adds the missing space to make this script work.
pull/41/head
Erwan Velu 7 jaren geleden
bovenliggende
commit
737ffd1c19
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      install.sh

+ 1
- 1
install.sh Bestand weergeven

@@ -16,7 +16,7 @@ then
chmod +x /etc/cron.hourly/log2ram

# Remove a previous log2ram version
if [ -d /var/log.hdd]; then
if [ -d /var/log.hdd ]; then
rm -r /var/log.hdd
fi



Laden…
Annuleren
Opslaan