output return codes

This commit is contained in:
j3d1 2022-03-28 03:28:38 +02:00
parent 1bdb9e4619
commit 0e6e349360

View file

@ -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