From 0e6e349360a30ab481428c33ecb2289b2b0f5816 Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 28 Mar 2022 03:28:38 +0200 Subject: [PATCH] output return codes --- entry.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entry.sh b/entry.sh index 22bb959..d45def6 100755 --- a/entry.sh +++ b/entry.sh @@ -150,7 +150,9 @@ function second_stage(){ btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui) apt install -y git wget materia-gtk-theme htop nmap arandr timeshift gparted + echo $? apt install -y virt-manager telegram-desktop chromium firefox thunderbird geany vlc pidgin gimp inkscape meld kicad blender freecad remmina gmpc + echo $? btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_big_tools) git clone https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh chmod 0755 $HOME/.oh-my-zsh @@ -164,15 +166,21 @@ function second_stage(){ } function user_install(){ + set -e dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'" + echo $? dbus-launch dconf write /org/mate/marco/general/theme "'Materia-dark'" + echo $? dbus-launch dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'" + echo $? dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'" + echo $? rsync -a /root/unbox_data/secrets/SSH/ .ssh/ git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools + echo $? #wget --show-progress -qO ./toolbox.tar.gz https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.20.7940.tar.gz