From e0a01886ccb86e3c2af56d60476adc4f325c3dc3 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Sat, 9 Dec 2023 18:55:31 +0700 Subject: [PATCH] update install step --- .setup/install.sh | 38 ++++++++++-------- .../share/gnome-shell/application_state | 12 +++--- zorin/.local/share/gnome-shell/notifications | Bin 2733 -> 4547 bytes 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/.setup/install.sh b/.setup/install.sh index 360c363..01551f1 100644 --- a/.setup/install.sh +++ b/.setup/install.sh @@ -53,20 +53,24 @@ cd ../../ echo "####################################################################" echo "######################### install docker ###########################" -while true; do - if [[ $ACCEPT_INSTALL =~ ^[Yy]$ ]]; then - yn="y" - else - read -r -p "Do you want to install docker? (Y/N) " yn - fi - case $yn in - [Yy]*) - cd options/develop/ || exit - bash docker.sh - cd ../../ - break - ;; - [Nn]*) break ;; - *) echo "Please answer yes or no." ;; - esac -done +if ! command -v "docker" &>/dev/null; then + while true; do + if [[ $ACCEPT_INSTALL =~ ^[Yy]$ ]]; then + yn="y" + else + read -r -p "Do you want to install docker? (Y/N) " yn + fi + case $yn in + [Yy]*) + cd options/develop/ || exit + bash docker.sh + cd ../../ + break + ;; + [Nn]*) break ;; + *) echo "Please answer yes or no." ;; + esac + done +else + echo "docker install ok installed" +fi diff --git a/zorin/.local/share/gnome-shell/application_state b/zorin/.local/share/gnome-shell/application_state index aa1c09d..2a06a57 100644 --- a/zorin/.local/share/gnome-shell/application_state +++ b/zorin/.local/share/gnome-shell/application_state @@ -5,23 +5,23 @@ - + - + - - + + - + @@ -32,6 +32,6 @@ - + diff --git a/zorin/.local/share/gnome-shell/notifications b/zorin/.local/share/gnome-shell/notifications index 0b907f01dc60626bde36a25760a35abb08f17da0..da4bef2cd5039be8f25ddababc79a61a8813f2f1 100644 GIT binary patch delta 1251 zcmbVLTWi!n6h3KfU5jA7`=D@8EM4fXxlJ}HMOm%1BBoweQBib~%yxs>WZ7g(i(B>w zh-eA;B3_FMf+*-y`%rOx^iS-Ig73aN$=ae7RGf#IbIzR0cg}qCYG?bvn+F3u0PzuF zNRvdqnp5WSYo)1c{1{CQMARi!Eod@HbxBloMN(vW^akB~}Lj!aj(<2}iQ3>`>d*HGWu3XM|9L5mB{NoePRYQqSRVCc7|Sh`r3F z-YozN@AtGAvC4{GE<3Vh6lBYQI;(keW)Qh$*QSvh_#gmZvf>ciaI~Dw19GY;$vI2Y zl$-ij57s<1@mJ*8h#T`A^OL zC|paBWrtP)Zrqmt@)anDJu{yfOA$qGm4y+l)=~}N-nodS;_Sdq7=!2V0Y1Yc;eO9@ z52SHd(p%1vJuT`x^}u!V)oPeLKWX|6&*PFkrDC()dkDxN?dgJHm9Sj$Iggoxq@XDVJW z$MZ?76WDlT4*kGIr{PcI#5hLvMq;eE90RT4ROvK23}>mG=sx$z<0+b&?FL0n)U<+V zC^C8!Wtk9NQ}QVxIbhf36yvMxa+<__J%^A|ixACH`A;wuA}gwGFilb|gA@!^v1$CS zcWm#+yX_}_1)a{)vj%$Y$M|ufy~wxD@@+f5k|7Bt9I4k`lmFof8A3LA6`k2 z!WtJZw%^j#Vi*5jEOGxW>EO_vUy~+ZWf8s3@&h-0+Es$L{$Akc(DmSV=O2E6%Ywi; x*Ci{g=jq~BVY{%h^*c-jZF>L! delta 24 fcmX@CyjFC>TrPoJ#&i~4w&m=xoEi+mj4QbST;T>E