From d0a297c94175897851277b24ab11d4c1ca4cb5cd Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 14 Sep 2019 04:01:43 -0500 Subject: [PATCH] Remove deb_install stuff Gonna use ansible for that from now on --- build-home.sh | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/build-home.sh b/build-home.sh index 61e18f6..9ab1940 100755 --- a/build-home.sh +++ b/build-home.sh @@ -101,32 +101,6 @@ step_dot_update() { git --git-dir="$gitdir" --work-tree="$bootstrapdir" config status.showUntrackedFiles no >> "$logfile" } >> "$logfile" 2>&1 } -step_deb_install() { - ( - source "/etc/os-release" || exit 1 - [ "$ID" == "debian" ] || exit 1 - ) || return 1 - 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 nitrogen polybar preload redshift rofi syncthing-gtk thunderbird tint2 vim virt-manager - [ "$(uname -m)" == "x86_64" ] && sudo apt install -y \ - steam - sudo apt purge -y \ - mate-notification-daemon -} ## Main main() { @@ -190,7 +164,6 @@ main() { step_repo_clone || exit $? step_repo_move || exit $? step_dot_update || exit $? - step_deb_install log "Dotfiles set up successfully" exit 0 }