From 7e92b4e268b8f090b9466a5b20088bfa1a0afedc Mon Sep 17 00:00:00 2001 From: "kebler.net" Date: Fri, 5 Feb 2021 13:05:29 -0800 Subject: [PATCH] remove old inst files in startup for chromium and vscode, not needed --- giskard/startup/chromium.inst | 26 -------------------------- giskard/startup/vscode.inst | 6 ------ 2 files changed, 32 deletions(-) delete mode 100644 giskard/startup/chromium.inst delete mode 100644 giskard/startup/vscode.inst diff --git a/giskard/startup/chromium.inst b/giskard/startup/chromium.inst deleted file mode 100644 index 69e6e3c..0000000 --- a/giskard/startup/chromium.inst +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -module_load notify -_ch=$(command -v _chromium) -if [[ $_ch ]]; then - ch=$(dirname "$_ch")/chromium - ## if chromium exits probably an update to so move again - msg="new version availabe, run: sudo mv $ch $_ch" - [[ -f $ch ]] && llog $msg && notify-send $msg - export CHROME_CONFIG_HOME="/opt/chromium" - chmod +x $BASH_SHELL_HOST/all/modules/chromium.sh - ln -sf $BASH_SHELL_HOST/all/modules/chromium.sh /opt/bin/chromium - llog "chromium sucessfully set up on $HOSTNAME" - login_notify "chromium sucessfully set up on $HOSTNAME" - else -# echo no _chromium - ch=$(command -v chromium) - if [[ $ch ]];then - llog "chromium availabe, need to run this command and log in again" - login_notify "chromium availabe but need to run this command and log in again" - llog "sudo mv $ch $(dirname $ch)/_chromium" - login_notify "sudo mv $ch $(dirname $ch)/_chromium" - else - llog "Warning: ungoogled chromimum not installed on $HOSTNAME" - login_notify "Warning: ungoogled chromimum not installed on $HOSTNAME" - fi -fi \ No newline at end of file diff --git a/giskard/startup/vscode.inst b/giskard/startup/vscode.inst deleted file mode 100644 index 06cc58b..0000000 --- a/giskard/startup/vscode.inst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -if [[ $(command -v code) ]]; then -export VSCODE_HOME="/opt/vscode" -chmod +x $BASH_SHELL_HOST/all/modules/vscode.sh -ln -sf $BASH_SHELL_HOST/all/modules/vscode.sh /opt/bin/vscode -fi \ No newline at end of file