this script has been moved to its own github repo and can now be found on https://github.com/koter84/HomeAssistant_Blueprints_Update/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get current dir | |
prog_dir="/opt/blynkserver" | |
if [ -d "$prog_dir" ] | |
then | |
prog_dir_version=$(ls "$prog_dir" | grep jar | sed s/"server-"/""/ | sed s/"\.jar"/""/) | |
fi | |
echo "DIR: $prog_dir" | |
echo "DIR Version: $prog_dir_version" |
I hereby claim:
- I am koter84 on github.
- I am koter84 (https://keybase.io/koter84) on keybase.
- I have a public key ASDZJWDpPFXQHZhJsXzw_GjzQgTzlbAXMWcsE90S1UiL_wo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# import read_ini() | |
source ./~~read_ini.sh | |
count=0 | |
for file in $HOME/.local/share/remmina/*.remmina | |
do | |
read_ini $file | |
if [ "${INI__remmina__domain}" != "" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get current dir | |
prog_dir="/opt/$(ls /opt/ | grep eagle | grep -v tar)" | |
echo "DIR: $prog_dir" | |
prog_dir_version=$(echo $prog_dir | awk -F- '{ print $2 }') | |
echo "DIR Version: $prog_dir_version" | |
# get current url | |
prog_url=$(curl --head -s https://www.autodesk.com/eagle-download-lin | grep Location | awk '{ print $2 }' | sed s/"\r"/""/ | sed s/"\n"/""/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# check version | |
prog_dir_version=$(grep \"version\" ~/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/metadata.json | awk '{ print $2 }' | sed s/,//g) | |
echo "DIR Version: $prog_dir_version" | |
prog_url="https://raw.githubusercontent.com/EasyScreenCast/EasyScreenCast/master/metadata.json" | |
prog_url_version=$(curl -s $prog_url | grep \"version\" | awk '{ print $2 }' | sed s/,//g) | |
echo "URL Version: $prog_url_version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get current dir | |
prog_dir="/opt/$(ls /opt/ | grep etcher | grep -v zip)" | |
echo "DIR: $prog_dir" | |
prog_dir_version=$(echo $prog_dir | awk -F/ '{ print $3 }' | awk -F- '{ print $2 }') | |
if [ "$prog_dir_version" == "electron" ] | |
then | |
prog_dir_version=$(echo $prog_dir | awk -F/ '{ print $3 }' | awk -F- '{ print $3 }') | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# check version | |
prog_dir_version=$(grep \"version\" ~/.local/share/gnome-shell/extensions/TopIcons@phocean.net/metadata.json | awk '{ print $2 }' | sed s/,//g) | |
echo "DIR Version: $prog_dir_version" | |
prog_url="https://raw.githubusercontent.com/phocean/TopIcons-plus/master/metadata.json" | |
prog_url_version=$(curl -s $prog_url | grep \"version\" | awk '{ print $2 }' | sed s/,//g) | |
echo "URL Version: $prog_url_version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -d /opt/fwbuilder-5.1.0.3599 ] | |
then | |
echo "removing deprecated version" | |
rm -rf /opt/fwbuilder-5.1.0.3599 | |
fi | |
if [ ! -d /opt/fwbuilder/build ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get current dir | |
prog_dir="/opt/$(ls /opt/ | grep MQTTfx)" | |
echo "DIR: $prog_dir" | |
prog_dir_version=$(grep 'app\.version' /opt/MQTTfx/app/MQTTfx.cfg | sed s/app.version=//) | |
echo "DIR Version: $prog_dir_version" | |
# get current url | |
prog_url=$(curl -s http://mqttfx.jensd.de/index.php/download | sed 's/<a/\n<a/g' | grep '^<a' | grep Version | head -n1 | sed 's/.*http/http/g' | cut -d'"' -f1) |
NewerOlder