summaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-06-14 13:07:03 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-06-14 13:07:03 +0800
commit007ff779f594925b51a49383d42ab0130efc2dd5 (patch)
treec156342df903261234818d7d0bcc349e9a9c38d7 /x11-fm
parent9608dcfff771583b2be8875277cea3428fe06bab (diff)
downloadmarcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.tar
marcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.tar.gz
marcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.tar.bz2
marcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.tar.lz
marcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.tar.xz
marcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.tar.zst
marcuscom-ports-007ff779f594925b51a49383d42ab0130efc2dd5.zip
Add the pkg-install which handles changing the default user file
permissions. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@857 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/nautilus/pkg-install10
-rw-r--r--x11-fm/nautilus2/pkg-install10
2 files changed, 20 insertions, 0 deletions
diff --git a/x11-fm/nautilus/pkg-install b/x11-fm/nautilus/pkg-install
new file mode 100644
index 000000000..3ab36c4c2
--- /dev/null
+++ b/x11-fm/nautilus/pkg-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+if [ "$2" = "POST-INSTALL" ]; then
+ chmod u+w ${PKG_PREFIX}/share/gnome/nautilus/*.desktop
+ exit 0
+fi
diff --git a/x11-fm/nautilus2/pkg-install b/x11-fm/nautilus2/pkg-install
new file mode 100644
index 000000000..3ab36c4c2
--- /dev/null
+++ b/x11-fm/nautilus2/pkg-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+if [ "$2" = "POST-INSTALL" ]; then
+ chmod u+w ${PKG_PREFIX}/share/gnome/nautilus/*.desktop
+ exit 0
+fi