Author: dkedves
Date: 2009-12-15 16:34:17 +0200 (Tue, 15 Dec 2009)
New Revision: 19577
Modified:
projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh
Log:
Fix for tag too
Modified: projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh
===================================================================
--- projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh 2009-12-15 14:33:08 UTC (rev 19576)
+++ projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh 2009-12-15 14:34:17 UTC (rev 19577)
@@ -14,7 +14,11 @@
DONT=${DONT}'(\./Mac OS)|(\./\._)|(\.VolumeIcon\.icns)|(\./\.sounds/Ringtones)'
for rmable in $(find ./ | sort -r | egrep -v "${DONT}"); do
- rm -f "$rmable"
+ if test -d "${rmable}"; then
+ rmdir "${rmable}"
+ else
+ rm -f "${rmable}"
+ fi
done
cd ${HOME}
_______________________________________________
maemo-commits mailing list
maemo-commits@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits
Date: 2009-12-15 16:34:17 +0200 (Tue, 15 Dec 2009)
New Revision: 19577
Modified:
projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh
Log:
Fix for tag too
Modified: projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh
===================================================================
--- projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh 2009-12-15 14:33:08 UTC (rev 19576)
+++ projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh 2009-12-15 14:34:17 UTC (rev 19577)
@@ -14,7 +14,11 @@
DONT=${DONT}'(\./Mac OS)|(\./\._)|(\.VolumeIcon\.icns)|(\./\.sounds/Ringtones)'
for rmable in $(find ./ | sort -r | egrep -v "${DONT}"); do
- rm -f "$rmable"
+ if test -d "${rmable}"; then
+ rmdir "${rmable}"
+ else
+ rm -f "${rmable}"
+ fi
done
cd ${HOME}
_______________________________________________
maemo-commits mailing list
maemo-commits@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits