mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 03:39:53 +03:00
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.
14 lines
267 B
Bash
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
|