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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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