summaryrefslogtreecommitdiff
path: root/distro-specific-build-files
diff options
context:
space:
mode:
authorlupine <lupine@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-23 14:45:17 +0000
committerlupine <lupine@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-23 14:45:17 +0000
commite7ec29f99b40c941422a2fd6c82b2bdbbcc6cd68 (patch)
tree920cd0376d139cc809867b419eaf2d2e7d353a4f /distro-specific-build-files
parentec738131dbe3a9d76dd8df9975e26554c9f46ae5 (diff)
downloadmarex-dev-e7ec29f99b40c941422a2fd6c82b2bdbbcc6cd68.tar.gz
marex-dev-e7ec29f99b40c941422a2fd6c82b2bdbbcc6cd68.tar.bz2
Finish off bug #120
git-svn-id: file:///beryl/trunk@3037 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'distro-specific-build-files')
-rwxr-xr-xdistro-specific-build-files/aquamarine/debian/aquamarine.postinst5
-rwxr-xr-xdistro-specific-build-files/aquamarine/debian/aquamarine.prerm5
-rwxr-xr-xdistro-specific-build-files/aquamarine/debian/rules5
-rwxr-xr-xdistro-specific-build-files/beryl-core/debian/rules2
-rwxr-xr-xdistro-specific-build-files/emerald/debian/emerald.postinst5
-rwxr-xr-xdistro-specific-build-files/emerald/debian/emerald.prerm5
-rwxr-xr-xdistro-specific-build-files/emerald/debian/rules6
-rwxr-xr-xdistro-specific-build-files/heliodor/debian/heliodor.postinst5
-rwxr-xr-xdistro-specific-build-files/heliodor/debian/heliodor.prerm5
-rwxr-xr-xdistro-specific-build-files/heliodor/debian/rules5
10 files changed, 47 insertions, 1 deletions
diff --git a/distro-specific-build-files/aquamarine/debian/aquamarine.postinst b/distro-specific-build-files/aquamarine/debian/aquamarine.postinst
new file mode 100755
index 0000000..66b9056
--- /dev/null
+++ b/distro-specific-build-files/aquamarine/debian/aquamarine.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --install /usr/bin/x-window-decorator x-window-decorator /usr/bin/aquamarine 30
+
+exit 0
diff --git a/distro-specific-build-files/aquamarine/debian/aquamarine.prerm b/distro-specific-build-files/aquamarine/debian/aquamarine.prerm
new file mode 100755
index 0000000..ee5490f
--- /dev/null
+++ b/distro-specific-build-files/aquamarine/debian/aquamarine.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --remove x-window-decorator /usr/bin/aquamarine
+
+exit 0
diff --git a/distro-specific-build-files/aquamarine/debian/rules b/distro-specific-build-files/aquamarine/debian/rules
index 5b82185..2c59192 100755
--- a/distro-specific-build-files/aquamarine/debian/rules
+++ b/distro-specific-build-files/aquamarine/debian/rules
@@ -7,3 +7,8 @@ DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS := --enable-librsvg
+install/aquamarine::
+ mkdir -p debian/aquamarine/DEBIAN
+ cp debian/aquamarine.postinst debian/aquamarine/DEBIAN/postinst
+ cp debian/aquamarine.prerm debian/aquamarine/DEBIAN/prerm
+
diff --git a/distro-specific-build-files/beryl-core/debian/rules b/distro-specific-build-files/beryl-core/debian/rules
index 3ba5949..0b149b2 100755
--- a/distro-specific-build-files/beryl-core/debian/rules
+++ b/distro-specific-build-files/beryl-core/debian/rules
@@ -13,7 +13,7 @@ DEB_INSTALL_MANPAGES_libberylsettings-dev := doc/beryl_settings_context_new.3 do
install/beryl-core::
mkdir -p debian/beryl-core/DEBIAN
- cp debian/beryl-core.postinst debian/beryl-core/DEBIAN/prerm
+ cp debian/beryl-core.postinst debian/beryl-core/DEBIAN/postinst
cp debian/beryl-core.prerm debian/beryl-core/DEBIAN/prerm
diff --git a/distro-specific-build-files/emerald/debian/emerald.postinst b/distro-specific-build-files/emerald/debian/emerald.postinst
new file mode 100755
index 0000000..457b23c
--- /dev/null
+++ b/distro-specific-build-files/emerald/debian/emerald.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --install /usr/bin/x-window-decorator x-window-decorator /usr/bin/emerald 30
+
+exit 0
diff --git a/distro-specific-build-files/emerald/debian/emerald.prerm b/distro-specific-build-files/emerald/debian/emerald.prerm
new file mode 100755
index 0000000..f7335bd
--- /dev/null
+++ b/distro-specific-build-files/emerald/debian/emerald.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --remove x-window-decorator /usr/bin/emerald
+
+exit 0
diff --git a/distro-specific-build-files/emerald/debian/rules b/distro-specific-build-files/emerald/debian/rules
index 8460f0a..6fab0ee 100755
--- a/distro-specific-build-files/emerald/debian/rules
+++ b/distro-specific-build-files/emerald/debian/rules
@@ -9,3 +9,9 @@ DEB_INSTALL_DOCS_ALL := README NEWS
DEB_CONFIGURE_EXTRA_FLAGS += \
--disable-mime-update
+
+install/emerald::
+ mkdir -p debian/emerald/DEBIAN
+ cp debian/emerald.postinst debian/emerald/DEBIAN/postinst
+ cp debian/emerald.prerm debian/emerald/DEBIAN/prerm
+
diff --git a/distro-specific-build-files/heliodor/debian/heliodor.postinst b/distro-specific-build-files/heliodor/debian/heliodor.postinst
new file mode 100755
index 0000000..971434e
--- /dev/null
+++ b/distro-specific-build-files/heliodor/debian/heliodor.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --install /usr/bin/x-window-decorator x-window-decorator /usr/bin/heliodor 30
+
+exit 0
diff --git a/distro-specific-build-files/heliodor/debian/heliodor.prerm b/distro-specific-build-files/heliodor/debian/heliodor.prerm
new file mode 100755
index 0000000..d72fd27
--- /dev/null
+++ b/distro-specific-build-files/heliodor/debian/heliodor.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --remove x-window-decorator /usr/bin/heliodor
+
+exit 0
diff --git a/distro-specific-build-files/heliodor/debian/rules b/distro-specific-build-files/heliodor/debian/rules
index 4ada914..ff0b280 100755
--- a/distro-specific-build-files/heliodor/debian/rules
+++ b/distro-specific-build-files/heliodor/debian/rules
@@ -8,3 +8,8 @@ DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS := --enable-librsvg --enable-gtk \
--enable-gnome --enable-metacity
+install/heliodor::
+ mkdir -p debian/heliodor/DEBIAN
+ cp debian/heliodor.postinst debian/heliodor/DEBIAN/postinst
+ cp debian/heliodor.prerm debian/heliodor/DEBIAN/prerm
+