summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-10-15 18:29:45 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-15 18:29:45 +0200
commit83ce89c88e6c8ccbff7fd65fbaa2c87d706feb28 (patch)
tree0fda3f05439eaca14dd4119a8d62aba911229a86
parent1852d6905ce376ae9b4a770b4ebdc3cc3ae298f6 (diff)
downloadtde-packaging-83ce89c88e6c8ccbff7fd65fbaa2c87d706feb28.tar.gz
tde-packaging-83ce89c88e6c8ccbff7fd65fbaa2c87d706feb28.zip
Add TDM configuration for needrestart on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-xdebian/lenny/tdebase/debian/rules2
-rw-r--r--debian/lenny/tdebase/debian/tdm-trinity.needrestart4
-rwxr-xr-xdebian/squeeze/tdebase/debian/rules2
-rw-r--r--debian/squeeze/tdebase/debian/tdm-trinity.needrestart4
-rwxr-xr-xubuntu/maverick/tdebase/debian/rules2
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm-trinity.needrestart4
6 files changed, 18 insertions, 0 deletions
diff --git a/debian/lenny/tdebase/debian/rules b/debian/lenny/tdebase/debian/rules
index 31b76c528..e0803d0fa 100755
--- a/debian/lenny/tdebase/debian/rules
+++ b/debian/lenny/tdebase/debian/rules
@@ -125,6 +125,8 @@ binary-install/tdm-trinity::
install -p -D -m644 debian/tdm-trinity.pam debian/tdm-trinity/etc/pam.d/tdm-trinity
install -p -D -m644 debian/tdm-trinity-np.pam debian/tdm-trinity/etc/pam.d/tdm-trinity-np
+
+ install -p -D -m644 debian/tdm-trinity.needrestart debian/tdm-trinity/etc/needrestart/conf.d/tdm-trinity.conf
binary-install/kcontrol-trinity::
mkdir -p debian/kcontrol/etc/udev/rules.d
diff --git a/debian/lenny/tdebase/debian/tdm-trinity.needrestart b/debian/lenny/tdebase/debian/tdm-trinity.needrestart
new file mode 100644
index 000000000..07fed1702
--- /dev/null
+++ b/debian/lenny/tdebase/debian/tdm-trinity.needrestart
@@ -0,0 +1,4 @@
+
+# Override default selection for Trinity Display Manager
+$nrconf{override_rc}{ q(^tdm) } = 0;
+
diff --git a/debian/squeeze/tdebase/debian/rules b/debian/squeeze/tdebase/debian/rules
index e8502d281..b4c776dd7 100755
--- a/debian/squeeze/tdebase/debian/rules
+++ b/debian/squeeze/tdebase/debian/rules
@@ -125,6 +125,8 @@ binary-install/tdm-trinity::
install -p -D -m644 debian/tdm-trinity.pam debian/tdm-trinity/etc/pam.d/tdm-trinity
install -p -D -m644 debian/tdm-trinity-np.pam debian/tdm-trinity/etc/pam.d/tdm-trinity-np
+
+ install -p -D -m644 debian/tdm-trinity.needrestart debian/tdm-trinity/etc/needrestart/conf.d/tdm-trinity.conf
binary-install/kcontrol-trinity::
mkdir -p debian/kcontrol/etc/udev/rules.d
diff --git a/debian/squeeze/tdebase/debian/tdm-trinity.needrestart b/debian/squeeze/tdebase/debian/tdm-trinity.needrestart
new file mode 100644
index 000000000..07fed1702
--- /dev/null
+++ b/debian/squeeze/tdebase/debian/tdm-trinity.needrestart
@@ -0,0 +1,4 @@
+
+# Override default selection for Trinity Display Manager
+$nrconf{override_rc}{ q(^tdm) } = 0;
+
diff --git a/ubuntu/maverick/tdebase/debian/rules b/ubuntu/maverick/tdebase/debian/rules
index 84da82e43..216a616be 100755
--- a/ubuntu/maverick/tdebase/debian/rules
+++ b/ubuntu/maverick/tdebase/debian/rules
@@ -125,6 +125,8 @@ binary-install/tdm-trinity::
install -p -D -m644 debian/tdm-trinity.conf debian/tdm-trinity/etc/init/tdm-trinity.conf
install -p -D -m644 debian/tdm-trinity.pam debian/tdm-trinity/etc/pam.d/tdm-trinity
install -p -D -m644 debian/tdm-trinity-np.pam debian/tdm-trinity/etc/pam.d/tdm-trinity-np
+
+ install -p -D -m644 debian/tdm-trinity.needrestart debian/tdm-trinity/etc/needrestart/conf.d/tdm-trinity.conf
binary-install/kcontrol-trinity::
mkdir -p debian/kcontrol/etc/udev/rules.d
diff --git a/ubuntu/maverick/tdebase/debian/tdm-trinity.needrestart b/ubuntu/maverick/tdebase/debian/tdm-trinity.needrestart
new file mode 100644
index 000000000..07fed1702
--- /dev/null
+++ b/ubuntu/maverick/tdebase/debian/tdm-trinity.needrestart
@@ -0,0 +1,4 @@
+
+# Override default selection for Trinity Display Manager
+$nrconf{override_rc}{ q(^tdm) } = 0;
+