[pkg-fso-commits] [SCM] Xglamo, the X server of the Openmoko FreeRunner (GTA02) branch, debian, updated. e8f60dc4b0cb719374ee88d7113e9ae0fe7e28e8

Luca Capello luca at pca.it
Sun Sep 28 17:48:12 UTC 2008


The following commit has been merged in the debian branch:
commit e8f60dc4b0cb719374ee88d7113e9ae0fe7e28e8
Author: Luca Capello <luca at pca.it>
Date:   Sun Sep 28 19:48:00 2008 +0200

    debian/xserver-xglamo.postinst: reload udev rules on install

diff --git a/debian/changelog b/debian/changelog
index 281422b..1ed0a84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ xglamo (1.3.0.0+git20080807-2) UNRELEASED; urgency=low
   * debian/xserver-xglamo.install: new file.
     + install debian/56-freerunner.rules as udev rule file.
 
+  * debian/xserver-xglamo.postinst:
+    + reload udev rules if the package is installed.
+
  --
 
 xglamo (1.3.0.0+git20080807-1) UNRELEASED; urgency=low
diff --git a/debian/xserver-xglamo.postinst b/debian/xserver-xglamo.postinst
new file mode 100644
index 0000000..1c9938a
--- /dev/null
+++ b/debian/xserver-xglamo.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
+    # reload udev rules if the package is installed
+    if [ -x /etc/init.d/udev ]; then
+	invoke-rc.d udev reload 3> /dev/null || true
+    fi
+fi

-- 
Xglamo, the X server of the Openmoko FreeRunner (GTA02)



More information about the pkg-fso-commits mailing list