Check simlink (#90)

This commit is contained in:
Pascal Vizeli
2018-07-08 14:19:30 +02:00
committed by GitHub
parent 38c1df36c0
commit a0551d8010

View File

@@ -16,8 +16,8 @@ fi
# Fixups
# timesyncd
if [ ! -d /var/lib/systemd/timesync ]; then
rm /var/lib/systemd/timesync
if [ -L /var/lib/systemd/timesync ]; then
rm -f /var/lib/systemd/timesync
fi
exit 0