diff options
| author | Praveen Arimbrathodiyil <pravi.a@gmail.com> | 2010-07-14 20:51:08 +0530 |
|---|---|---|
| committer | Praveen Arimbrathodiyil <pravi.a@gmail.com> | 2010-07-14 20:51:08 +0530 |
| commit | 130bd32ec990c05a0b5d09870020aa61b6cee1e4 (patch) | |
| tree | 7bd35306ff29fe067d26cb746ef482640da21477 | |
| parent | 9a497adabe7f97cf70d0455cac06825c35da6f16 (diff) | |
| download | RaghuMalayalamSans.git-4.4.tar.gz RaghuMalayalamSans.git-4.4.tar.xz RaghuMalayalamSans.git-4.4.zip | |
added additional checks for fonts directory4.4
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
