summaryrefslogtreecommitdiffstats
path: root/ubuntu
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 /ubuntu
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>
Diffstat (limited to 'ubuntu')
-rwxr-xr-xubuntu/maverick/tdebase/debian/rules2
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm-trinity.needrestart4
2 files changed, 6 insertions, 0 deletions
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;
+