diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-12 23:33:18 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:33:18 +0200 |
commit | 29e232356b58c678f69097e170850d6652561209 (patch) | |
tree | 02a4fad82a4e675680432dd56432ad8e1a59881c /system/atarisio/doinst.sh | |
parent | af9897ecf27a2dbe05d677b8ea9f9fb61d5537bb (diff) |
system/atarisio: Added to 12.2 repository
Diffstat (limited to 'system/atarisio/doinst.sh')
-rw-r--r-- | system/atarisio/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/atarisio/doinst.sh b/system/atarisio/doinst.sh new file mode 100644 index 0000000000000..df3b7f10248c9 --- /dev/null +++ b/system/atarisio/doinst.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +chroot . /sbin/depmod -a + +# 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 [ -x sbin/udevadm ]; then + sbin/udevadm control --reload_rules 2>/dev/null +fi |