1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 03:39:53 +03:00
aports/main/util-linux/util-linux-misc.post-upgrade
Dermot Bradley 4d1fa69ac0 main/util-linux: split mount and umount into subpackages
Busybox mount does not support some functionality such as bind mounts
so split mount and umount into subpackages so that other packages
that only require mount and/or umount do not need to install
util-linux-misc.

Add util-linux-misc.post-upgrade script to warn of the move.
2022-06-22 17:48:47 +00:00

14 lines
267 B
Bash

#!/bin/sh
ver_old=$2
if [ "$(apk version -t "$ver_old" '2.38-r2')" = '<' ]; then
cat >&2 <<-EOF
*
* The mount and umount programs have been moved from util-linux-misc to
* individual subpackages. If you use them, run: "apk add mount umount".
*
EOF
fi
exit 0