some fixes for the debian package

This commit is contained in:
Dana Jansens 2007-05-13 00:01:27 +00:00
parent 9eaf7086d3
commit 1801e11a81
6 changed files with 13 additions and 9 deletions

View 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 \

2
debian/dirs vendored
View file

@ -1,2 +0,0 @@
usr/bin
usr/sbin

1
debian/docs vendored
View file

@ -1 +0,0 @@
README

8
debian/menu.ex vendored
View 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"

1
debian/postinst.ex vendored
View 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)

8
debian/postrm.ex vendored
View 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)
;;
*)