summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraveen Arimbrathodiyil <pravi.a@gmail.com>2010-07-14 20:51:08 +0530
committerPraveen Arimbrathodiyil <pravi.a@gmail.com>2010-07-14 20:51:08 +0530
commit130bd32ec990c05a0b5d09870020aa61b6cee1e4 (patch)
tree7bd35306ff29fe067d26cb746ef482640da21477
parent9a497adabe7f97cf70d0455cac06825c35da6f16 (diff)
downloadAnjaliOldLipi.git-4.4.zip
AnjaliOldLipi.git-4.4.tar.gz
AnjaliOldLipi.git-4.4.tar.xz
added additional checks for fonts directory4.4
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5d06c95..3285396 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ uninstall:
if [ -f ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf ]; then \
rm ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf; fi
- if [ -d ${DESTDIR}/${fontpath} ]; then rmdir ${DESTDIR}/${fontpath}; fi
+ if [ -d ${DESTDIR}/${fontpath} -a -z "$(ls -A ${DESTDIR}/${fontpath})" ] ; then rmdir ${DESTDIR}/${fontpath}; fi
clean:
# remove ttf fonts