Add package configuration with OBS

This commit is contained in:
Salt 2019-06-24 03:07:44 -05:00
parent e666ba4d98
commit cf1945f5d0

View File

@ -106,17 +106,22 @@ step_deb_install() {
source "/etc/os-release" || exit 1
[ "$ID" == "debian" ] || exit 1
) || return 1
log "Installing required Debian packages"
log "Performing Debian-specific configuration"
log "You will be prompted to elevate privileges"
if ! sudo echo "Privileges elevated"; then
log "Permissions elevation failed"
return 2
fi
[ "$(uname -m)" == "x86_64" ] && sudo dpkg --add-architecture i386
sudo mkdir -p /etc/apt/sources.list.d
sudo cat << EOF > /etc/apt/sources.list.d/open-build-service.list
# Polybar
deb https://download.opensuse.org/repositories/home:/stevenpusser:/polybar/Debian_Unstable/ ./
EOF
sudo apt update
sudo apt dist-upgrade -y
sudo apt install -y \
arc-theme audacious breeze-cursor-theme conky curl dex dmz-cursor-theme dunst etckeeper firefox-esr fonts-inconsolata fonts-noto gimp hsetroot htop i3 liferea lightdm mate preload redshift rofi syncthing-gtk thunderbird tint2 vim virt-manager
arc-theme audacious breeze-cursor-theme conky curl dex dmz-cursor-theme dunst etckeeper firefox-esr fonts-inconsolata fonts-noto gimp hsetroot htop i3 liferea lightdm mate polybar preload redshift rofi syncthing-gtk thunderbird tint2 vim virt-manager
[ "$(uname -m)" == "x86_64" ] && sudo apt install -y \
steam
sudo apt purge -y \