[SCM] crtmpserver/master: Move enabled_applications.conf to -apps package
jet-guest at users.alioth.debian.org
jet-guest at users.alioth.debian.org
Sun Nov 6 17:08:09 UTC 2011
The following commit has been merged in the master branch:
commit dc2e6b851a2cd5969ae389472d8808d457e0a7da
Author: Andriy Beregovenko <jet at jet.kiev.ua>
Date: Sun Nov 6 19:08:00 2011 +0200
Move enabled_applications.conf to -apps package
diff --git a/debian/crtmpserver-apps.examples b/debian/crtmpserver-apps.examples
index f77f311..8c35fb6 100644
--- a/debian/crtmpserver-apps.examples
+++ b/debian/crtmpserver-apps.examples
@@ -7,3 +7,4 @@ debian/crtmpserver-apps-scripts/samplefactory.lua
debian/crtmpserver-apps-scripts/stresstest.lua
debian/crtmpserver-apps-scripts/vptests.lua
debian/crtmpserver-apps-scripts/conf.d/users.lua
+debian/crtmpserver-apps-scripts/enabled_applications.conf
diff --git a/debian/crtmpserver-apps.postinst b/debian/crtmpserver-apps.postinst
index 2afb85e..0ab3091 100644
--- a/debian/crtmpserver-apps.postinst
+++ b/debian/crtmpserver-apps.postinst
@@ -24,6 +24,14 @@ case "$1" in
chmod 640 /etc/crtmpserver/conf.d/users.lua
fi
+ # Add all application as part of default install
+ if [ ! -f /etc/crtmpserver/enabled_applications.conf ]
+ then
+ cp /usr/share/doc/crtmpserver-apps/examples/enabled_applications.conf \
+ /etc/crtmpserver
+ chmod 644 /etc/crtmpserver/enabled_applications.conf
+ fi
+
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
diff --git a/debian/crtmpserver.install b/debian/crtmpserver.install
index 7c402af..b69ed91 100644
--- a/debian/crtmpserver.install
+++ b/debian/crtmpserver.install
@@ -1,5 +1,4 @@
usr/sbin/crtmpserver
debian/crtmpserver-scripts/crtmpserver.lua etc/crtmpserver
-debian/crtmpserver-scripts/enabled_applications.conf etc/crtmpserver
debian/crtmpserver-scripts/log_appenders.lua etc/crtmpserver
--
crtmpserver packaging
More information about the pkg-multimedia-commits
mailing list