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