Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
#!/bin/bash

DISTRO="$(cat /etc/os-release| awk -F '=' '/^ID/{print $2}')"

if [ "$DISTRO" = "debian" ]; then
 echo "DEBIAN"
elif [ "$DISTRO" = "ubuntu" ]; then
 echo "UBUNTU"
fi

  • No labels