aboutsummaryrefslogtreecommitdiffstats
path: root/debian/dvb-apps.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/dvb-apps.postinst')
-rw-r--r--debian/dvb-apps.postinst6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/dvb-apps.postinst b/debian/dvb-apps.postinst
index b358197..3a12ccf 100644
--- a/debian/dvb-apps.postinst
+++ b/debian/dvb-apps.postinst
@@ -2,8 +2,10 @@
set -e
-if [ ! -e /dev/.devfsd ] ; then
-cd /dev && /sbin/MAKEDEV dvb
+if [ -x /dev/MAKEDEV ]; then
+ echo "creating dvb devices..."
+ cd /dev
+ ./MAKEDEV dvb
fi
#DEBHELPER#