Try Buster fstrim path if Stretch path not found

This fixes a missing file error in InstallPackages.sh when running
Buster.
This commit is contained in:
JeremyRand 2018-12-09 05:08:16 +00:00
parent 2127c880c1
commit 597149168a
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

View File

@ -101,7 +101,7 @@ cp -rf $DIR/30-touchpad.conf /etc/X11/xorg.conf.d/
apt clean && apt autoremove --purge
#enable periodic TRIM
cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system
cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system || cp /lib/systemd/system/fstrim.{service,timer} /etc/systemd/system
systemctl enable fstrim.timer
dmesg -D