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.

41 lines
473 B

#!/bin/bash
common_programs_list=(\
htop \
tmux \
git \
fish \
mc \
sudo \
unzip \
dmenu \
cmake \
make \
gcc \
python3 \
pulseaudio \
pulseaudio-alsa \
alsa \
alsa-utils \
exa)
main_dir=$PWD
common_programs=$( IFS=$'\n'; echo "${common_programs_list[*]}" )
system=$(sudo cat /etc/os-release | sed -n 3p)
echo $main_dir
if [[ $system == *"arch"* ]]
then
installCMD="pacman -S"
elif [[ $system == *"debian"* ]]
then
installCMD="apt install"
fi
echo $system