summaryrefslogtreecommitdiff
path: root/debian/azure-resource
blob: 4977e3d1c553b4caa41043920b200934738274eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

PREREQ="udev"

prereqs()
{
        echo "$PREREQ"
}

case $1 in
prereqs)
        prereqs
        exit 0
        ;;
esac

mkdir -p $DESTDIR/lib/udev/rules.d/
if   [ -e /etc/udev/rules.d/66-azure-storage.rules ]; then
    cp -pt "${DESTDIR}/lib/udev/rules.d" /etc/udev/rules.d/66-azure-storage.rules
elif [ -e /lib/udev/rules.d/66-azure-storage.rules ]; then
    cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/66-azure-storage.rules
fi