summaryrefslogtreecommitdiff
path: root/source/l/libgpod/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libgpod/doinst.sh')
-rw-r--r--source/l/libgpod/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/l/libgpod/doinst.sh b/source/l/libgpod/doinst.sh
new file mode 100644
index 00000000..72709ca2
--- /dev/null
+++ b/source/l/libgpod/doinst.sh
@@ -0,0 +1,9 @@
+# Ensure sane /tmp permissions which may have been set incorrectly due
+# to a packaging problem caused by a DESTDIR bug in libgpod-0.8.0.
+# Eventually, it will be safe to remove this, but the package contained
+# a wrong permissions /tmp for less than a day, only in -current.
+
+if grep -wq tmp/ var/log/packages/libgpod-* ; then
+ chmod 1777 tmp
+fi
+