ICON_CACHE=/usr/bin/gtk-update-icon-cache
IMG_DIR="/home/$USER/MyDocs/.images/$PKG"
-if [ "$1" = "configure" ]
- [ -d $IMG_DIR ] && (mkdir $IMG_DIR && chown -R $USER:$GROUP $IMG_DIR)
+if [ "$1" = "configure" ] ; then
+ [ -d $IMG_DIR ] || (mkdir $IMG_DIR && chown -R $USER:$GROUP $IMG_DIR)
[ -x $ICON_CACHE ] && $ICON_CACHE -f /usr/share/icons/hicolor
fi