You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
385 B

#!/bin/bash
common_programs_list=(\
htop \
git \
xmobar \
xmonad \
fish \
mc \
sudo \
unzip \
dmenu \
cmake \
make \
gcc \
sddm)
common_programs=$( IFS=$'\n'; echo "${common_programs_list[*]}" )
system=$(sudo cat /etc/os-release | sed -n 3p)
if [[ $system == *"arch"* ]]
then
echo "OS is ARCH"
elif [[ $system == *"debian"* ]]
then
echo "OS is Debian"
fi
echo $system