mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
removed test file
This commit is contained in:
@@ -1,29 +0,0 @@
|
|||||||
#/bin/bash
|
|
||||||
### For testing
|
|
||||||
SECDIR=/home/tb/Security
|
|
||||||
PLAT=Linuxmint
|
|
||||||
### For Testing
|
|
||||||
|
|
||||||
function bitmessage_appimage_install() {
|
|
||||||
|
|
||||||
|
|
||||||
BMAIRELDATE=$(curl -s https://appimage.bitmessage.org/releases/ | tail -n 3 | grep -o [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] | tail -n 1)
|
|
||||||
BMAIFILE=$(curl -s https://appimage.bitmessage.org/releases/20221018/ | grep .AppImage | awk -F '"' '{print $2}')
|
|
||||||
|
|
||||||
if [[ $PLAT = Linuxmint ]]; then
|
|
||||||
|
|
||||||
cd $SECDIR && wget -N https://appimage.bitmessage.org/releases/${BMAIRELDATE}/${BMAIFILE} ||
|
|
||||||
{ ERRCODE = "Failed to Download PyBitmessage AppImage."; errors; return; }
|
|
||||||
|
|
||||||
chmod a+x $SECDIR/$BMAIFILE ||
|
|
||||||
{ ERRCODE = "Failed to set execute permissions on PyBitmessage AppImage."; errors; return; }
|
|
||||||
|
|
||||||
|
|
||||||
#sudo ln -sf /etc/xdg/menus/{gnome-applications,debian-menu}.menu ||
|
|
||||||
#{ ERRCODE = "Failed to create symlink required to run PyBitmessage."; errors; return; }
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
bitmessage_appimage_install
|
|
||||||
Reference in New Issue
Block a user