debian: fix check for symbolic link

This commit is contained in:
Frédéric Péters 2015-12-31 15:42:13 +01:00
parent 5a431397c4
commit 39bd8624a1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ esac
# migrate from gadjo theme in /usr/share/combo/themes to theme in
# /usr/share/publik/themes/; dpkg doesn't handle correctly changes from
# directories to symlinks.
if [ -L /usr/share/combo/themes/gadjo ]
if [ ! -L /usr/share/combo/themes/gadjo ]
then
rmdir /usr/share/combo/themes/gadjo
ln -s ../../publik/themes/gadjo /usr/share/combo/themes/gadjo