aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 09fe584..556d11b 100755
--- a/update.sh
+++ b/update.sh
@@ -32,7 +32,7 @@ done
find $AK_MODULESDIR -type l | while read link
do
- if [ ! -f $link ]
+ if [ ! -d $link ]
then
echo "Non working link: $(basename $link) removing..."
rm $link