aboutsummaryrefslogtreecommitdiff
path: root/system/atarisio/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:39:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:39:38 +0200
commit594b847b5585209e16c8b19b429945175ccb5df6 (patch)
treec8f0010287cf80cb93c4063a04852fe4b1bee680 /system/atarisio/doinst.sh
parent41526a914dd7e6bd147b419cd7b3359000fe8338 (diff)
system/atarisio: Updated for version 20100113
Diffstat (limited to 'system/atarisio/doinst.sh')
-rw-r--r--system/atarisio/doinst.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/atarisio/doinst.sh b/system/atarisio/doinst.sh
index df3b7f10248c9..d3b55d1299bd4 100644
--- a/system/atarisio/doinst.sh
+++ b/system/atarisio/doinst.sh
@@ -1,13 +1,13 @@
#!/bin/sh
-chroot . /sbin/depmod -a
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a
+fi
# Ensure that udevd knows what's up with the atarisio device(s)...
-# Redirect stderr to /dev/null to avoid Slack 12.2 warning:
-# Older (Slack 12.0/12.1) udevadm doesn't recognize the new form
-# (--reload-rules is an error). For now, I want the package to
-# work on at least 12.1 and 12.2.
+# If you're on Slack 12.1 or older, the --reload-rules needs to be
+# replaced with --reload_rules below.
if [ -x sbin/udevadm ]; then
- sbin/udevadm control --reload_rules 2>/dev/null
+ sbin/udevadm control --reload-rules 2>/dev/null
fi