Remove deb_install stuff
Gonna use ansible for that from now on
This commit is contained in:
parent
80ba985f6c
commit
d0a297c941
@ -101,32 +101,6 @@ step_dot_update() {
|
|||||||
git --git-dir="$gitdir" --work-tree="$bootstrapdir" config status.showUntrackedFiles no >> "$logfile"
|
git --git-dir="$gitdir" --work-tree="$bootstrapdir" config status.showUntrackedFiles no >> "$logfile"
|
||||||
} >> "$logfile" 2>&1
|
} >> "$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
|
||||||
main() {
|
main() {
|
||||||
@ -190,7 +164,6 @@ main() {
|
|||||||
step_repo_clone || exit $?
|
step_repo_clone || exit $?
|
||||||
step_repo_move || exit $?
|
step_repo_move || exit $?
|
||||||
step_dot_update || exit $?
|
step_dot_update || exit $?
|
||||||
step_deb_install
|
|
||||||
log "Dotfiles set up successfully"
|
log "Dotfiles set up successfully"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user