From 2e4f8b2326937b66c5eeb5858c378b59af11f125 Mon Sep 17 00:00:00 2001 From: Xawotihs Date: Sun, 2 Jan 2011 00:01:33 +0000 Subject: [PATCH] Fixed permissions of the resources --- projects/mtg/debian/postinst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/mtg/debian/postinst b/projects/mtg/debian/postinst index 4e6d6950b..f56d064ba 100644 --- a/projects/mtg/debian/postinst +++ b/projects/mtg/debian/postinst @@ -1,11 +1,12 @@ #!/bin/sh -e -chmod +x /opt/wagic/wagic +chmod a+x /opt/wagic/wagic +chmod -R a+rw /home/user/wagic if grep -q /home/user/MyDocs /proc/mounts; then mkdir -p /home/user/MyDocs/wagic mkdir -p /home/user/MyDocs/wagic/Res cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res -fi +fi gtk-update-icon-cache -f /usr/share/icons/hicolor exit 0