On 8/21/20 12:25 AM, Eli Schwartz via arch-general wrote: >> That might have been an interesting precautionary measure for netctl >> 1.18, at least for printing a message advising people to reenable the >> service. > Oh, for the record -- it looks like netctl already did this: > > https://git.archlinux.org/svntogit/packages.git/tree/trunk/netctl.install?h=packages/netctl > > post_upgrade() { > if [[ $(vercmp 1.18 "$2") -gt 0 ]]; then > grep -ls '^.include ' /etc/systemd/system/netctl@*.service | \ > while read -r unit; do > profile=$(systemd-escape --unescape "${unit:27:-8}") > echo ":: The unit for profile '$profile' uses deprecated > features." > echo " Consider running: netctl reenable $(printf '%q' > "$profile")" > done > fi > } The fallibility of human infallibility... You can lead a horse to water, but you can't make 'em drink :) Thank you Eli, at least we know now the distribution was 1-step ahead. -- David C. Rankin, J.D.,P.E.
Attachment:
signature.asc
Description: OpenPGP digital signature