]> Dogcows Code - chaz/openbox/commitdiff
some fixes for the debian package
authorDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 00:01:27 +0000 (00:01 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 00:01:27 +0000 (00:01 +0000)
Makefile.am
debian/dirs [deleted file]
debian/docs [deleted file]
debian/menu.ex
debian/postinst.ex
debian/postrm.ex

index 602a59c14615ca42f12687561f437f0ac2c676f6..6011e04c46653d1028d047cc864a5006cd942d2f 100644 (file)
@@ -397,8 +397,6 @@ dist_noinst_DATA = \
        debian/compat \
        debian/control \
        debian/copyright \
-       debian/dirs \
-       debian/docs \
        debian/menu.ex \
        debian/openbox-default.ex \
        debian/openbox.doc-base.EX \
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644 (file)
index ca882bb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644 (file)
index e845566..0000000
+++ /dev/null
@@ -1 +0,0 @@
-README
index 37a88897f9b915eb22b65595a133127b9b84d1dc..97d2d14cf0e995ec2c618d087007f94f91ed1ee8 100644 (file)
@@ -1,2 +1,6 @@
-?package(openbox):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
-  title="openbox" command="/usr/bin/openbox"
+?package(openbox):\
+  needs="wm"\
+  section="WindowManagers"\
+  title="Openbox"\
+  command="/usr/bin/openbox"\
+  icon="/usr/share/pixmaps/openbox.png"
index 1c35c54e88ff9019ff5040c029b9898603820264..aa690370261d9d33ea37379c2b81528f7e197fe9 100644 (file)
@@ -20,6 +20,7 @@ set -e
 
 case "$1" in
     configure)
+        if [ -x /usr/bin/update-menus ]; then update-menus; fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
index 4a066a51c3ab6007b45605eaac9ed598165d81d1..641c6b9237bf248dfb76a3f56258f121c16a74cf 100644 (file)
@@ -18,9 +18,13 @@ set -e
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
-
 case "$1" in
-    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    purge)
+    ;;
+    remove)
+        if [ -x /usr/bin/update-menus ]; then update-menus ; fi
+    ;;
+    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
     ;;
 
     *)
This page took 0.026757 seconds and 4 git commands to generate.