[Maemo] Moved the copy of the ressources from the installation into a launcher script

This commit is contained in:
Xawotihs
2011-01-06 20:17:34 +00:00
parent 6b3d1bcbc9
commit 5ea6c1b890
3 changed files with 31 additions and 8 deletions
+1 -5
View File
@@ -1,12 +1,8 @@
#!/bin/sh -e
chmod a+x /opt/wagic/wagic
chmod a+x /opt/wagic/launcher
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
gtk-update-icon-cache -f /usr/share/icons/hicolor
exit 0