Fixed permissions of the resources

This commit is contained in:
Xawotihs
2011-01-02 00:01:33 +00:00
parent 925c159cef
commit 2e4f8b2326

View File

@@ -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