From d822c070ffdeadde7356c0b1a1137ea2124189f1 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sat, 17 Jan 2009 12:49:36 +0000 Subject: [PATCH] fixed syntax error in postinst --- debian/xkcdha.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/xkcdha.postinst b/debian/xkcdha.postinst index f129e73..e4db379 100755 --- a/debian/xkcdha.postinst +++ b/debian/xkcdha.postinst @@ -7,8 +7,8 @@ GROUP="users" 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 -- 1.7.9.5