diff --git a/_12345.sh b/_12345.sh index bcbc35ac..38b08b18 100755 --- a/_12345.sh +++ b/_12345.sh @@ -139,7 +139,7 @@ while true; do && ipfs name publish --allow-offline /ipfs/${ROUTING} end=`date +%s` - echo "(*__*) MySwam Update ($BSIZE B) duration was "`expr $end - $start`' seconds.' + echo "(*__*) MySwam Update ($BSIZE B) duration was "`expr $end - $start`' seconds. $(date)' ) & ##### SUB-PROCESS diff --git a/install.sh b/install.sh index c68bb522..aea8fc8f 100755 --- a/install.sh +++ b/install.sh @@ -64,7 +64,8 @@ done if [[ $XDG_SESSION_TYPE == 'x11' ]]; then echo "#############################################" echo "######### INSTALL DESKTOP TOOLS ######" -echo "#############################################" for i in x11-utils xclip zenity kodi; do +echo "#############################################" +for i in x11-utils xclip zenity kodi; do if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo ">>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" sudo apt install -y $i;