summaryrefslogtreecommitdiffstats
path: root/debian/libraw1394.postinst.in
diff options
context:
space:
mode:
authorGravatar aeb 2001-01-04 02:06:30 +0000
committerGravatar aeb 2001-01-04 02:06:30 +0000
commit2b61e222eaf0e0260ee2d5d5865a4275d906000d (patch)
treef99d8fcdb8535c13781472be2ed2a0f5615946d0 /debian/libraw1394.postinst.in
parentDebian scripts use makedev (>=2.3.1-49) in postinst by default now. (diff)
Fix misplaced device file in Debian installation.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@48 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
-rw-r--r--debian/libraw1394.postinst.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/libraw1394.postinst.in b/debian/libraw1394.postinst.in
index 7881ca5..326b40f 100644
--- a/debian/libraw1394.postinst.in
+++ b/debian/libraw1394.postinst.in
@@ -15,8 +15,8 @@ EOF
case "$REPLY" in
y|yes|"")
- MAKEDEV raw1394
- cat <<EOF
+ if (cd /dev && ./MAKEDEV raw1394); then
+ cat <<EOF
Device file created. You may want to fix the group/permission to
something appropriate for you. Note however that anyone who can open
@@ -25,6 +25,7 @@ unrestricted, including harddisks and other probably sensitive
devices.
EOF
+ fi
;;
*)
cat <<EOF