summarylogtreecommitdiffstats
path: root/eudev-git.install
diff options
context:
space:
mode:
authorAlexey D2013-08-03 11:08:38 +0400
committerAlexey D2015-07-05 08:55:50 +0300
commit67976303b8598cb6424821ea0e50b2a44f958a0b (patch)
tree5406da4fdf35bb8716ab638b8d707ac5aa446003 /eudev-git.install
parentdb3143e8c2f07a9bdc21a26ed41333cb45c4b6f4 (diff)
downloadaur-67976303b8598cb6424821ea0e50b2a44f958a0b.tar.gz
version 20130802-1
Diffstat (limited to 'eudev-git.install')
-rwxr-xr-xeudev-git.install18
1 files changed, 5 insertions, 13 deletions
diff --git a/eudev-git.install b/eudev-git.install
index d54362973835..baedb7ed5376 100755
--- a/eudev-git.install
+++ b/eudev-git.install
@@ -1,14 +1,6 @@
# arg 1: the new package version
# arg 2: the old package version
-netdev_warn() {
- echo " * Now eudev supports predictable network interface names."
- echo " * You can enable it by uncommenting lines into"
- echo " * /etc/udev/rules.d/80-net-name-slot.rules"
- echo
- echo " * See http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
-}
-
post_upgrade() {
if [ "$(vercmp $2 181-3)" -lt 0 ]; then
echo "udev changes:"
@@ -62,13 +54,13 @@ post_upgrade() {
echo " * binaries moved from /sbin to /usr/bin"
fi
if [ "$(vercmp $2 20130128)" -lt 0 ]; then
- netdev_warn
+ echo " * Now eudev supports predictable network interface names."
+ echo " * You can enable it by uncommenting lines into"
+ echo " * /etc/udev/rules.d/80-net-name-slot.rules"
+ echo
+ echo " * See http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
fi
echo " * if your kernel does not provide /dev/loop-control, you need to manually"
echo " load the 'loop' module before using losetup"
fi
}
-
-post_install() {
- netdev_warn
-}