check if fedora
This commit is contained in:
@@ -21,6 +21,12 @@ cat << 'EOF'
|
|||||||
|
|
||||||
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
|
# configure dnf
|
||||||
banner_top "configuring dnf"
|
banner_top "configuring dnf"
|
||||||
sudo tee /etc/dnf/dnf.conf << 'EOF'
|
sudo tee /etc/dnf/dnf.conf << 'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user