diff options
| -rwxr-xr-x | bin/debian-edu-faiinstall | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/debian-edu-faiinstall b/bin/debian-edu-faiinstall index 4e748dc..2d7908b 100755 --- a/bin/debian-edu-faiinstall +++ b/bin/debian-edu-faiinstall @@ -90,7 +90,7 @@ fi # keep a copy of /srv/tftp/ltsp if this is the first attempt to deploy # debian-edu-fai on this system -if [ -d "${tftpdir}/debian-edu-fai" ]; then +if [ -d "${tftpdir}/debian-edu-fai" ] && [ ! -h "${tftpdir}/debian-edu-fai" ]; then mv "${tftpdir}/ltsp" "${tftpdir}/ltsp.moved-aside-by-debian-edu-fai" elif [ -h "${tftpdir}/debian-edu-fai" ]; then rm "${tftpdir}/debian-edu-fai" |
