mirror of
https://gitlab.com/futile/thingy.git
synced 2026-07-21 08:10:07 +00:00
check if fedora
This commit is contained in:
@@ -21,6 +21,12 @@ cat << 'EOF'
|
||||
|
||||
EOF
|
||||
|
||||
# check if on fedora
|
||||
if ! grep -q '^ID=fedora$' /etc/os-release 2>/dev/null; then
|
||||
banner_top "errrm... why aren't you on fedora"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# configure dnf
|
||||
banner_top "configuring dnf"
|
||||
sudo tee /etc/dnf/dnf.conf << 'EOF'
|
||||
|
||||
Reference in New Issue
Block a user