@aliss@outerheaven.club I would do probes like thatif grep -qe debian /etc/os-release; then
# debian
elif grep -qe fedora /etc/os-release; then
# fedora
# keep going this way
else
fi
or as a shorthandfor myid in debian fedora whatever; do
grep -qe $myid /etc/os-release && break
done
# switch case on $myid, or empty
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Tosti ? (tost@mk.toast.cafe)'s status on Monday, 19-Sep-2022 02:43:28 JSTTosti ?