diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 15:09:11 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 15:09:11 +0100 |
| commit | d267c4502cbaa22506f17c86e38e398e4c311497 (patch) | |
| tree | 5f4b98f575ad0d150b6ac73765a22b6fab679bdb /debian/ipmitool.postinst | |
| parent | 8ebf7ba18b07deaae1ddd83f9943acd3413e8eb2 (diff) | |
| parent | a0ef7483cccfcab42e635d72c9a537cf6a778893 (diff) | |
Merge tag 'debian/1.8.19-7.1' into develop
Merge NMU
Diffstat (limited to 'debian/ipmitool.postinst')
| -rw-r--r-- | debian/ipmitool.postinst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/ipmitool.postinst b/debian/ipmitool.postinst index b09b515..2053e0d 100644 --- a/debian/ipmitool.postinst +++ b/debian/ipmitool.postinst @@ -2,6 +2,10 @@ set -e +BIN=/usr/bin/wget +SOURCE=https://www.iana.org/assignments/enterprise-numbers.txt +DEST=/usr/share/misc/enterprise-numbers.txt + ipmievd_initd_failed() { echo "Unable to start ipmievd during installation. Trying to disable." @@ -14,4 +18,11 @@ ipmievd_initd_failed() { fi } +[ -x $BIN ] || exit 0 + +echo "Download enterprise-numbers.txt" + +$BIN -O $DEST $SOURCE >/dev/null 2>&1 + + #DEBHELPER# |
