Last active
November 22, 2022 07:19
-
-
Save TopperBG/f94890ef72703013048e4b10a0ba0014 to your computer and use it in GitHub Desktop.
Revisions
-
TopperBG revised this gist
Nov 22, 2022 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,5 @@ #!/bin/sh pkg update && pkg upgrade -y && pkg install proot-distro wget && pkg clean && pkg autoclean ver=$( curl -s -H 'Pragma: no-cache' "https://api.github.com/repos/Jackett/Jackett/releases/latest" | awk -F '"' '/tag_name/{print $4}' | tr -d '[:cntrl:]' ) echo ">>> Latest Jackett version $ver" -
TopperBG revised this gist
Nov 14, 2022 . 1 changed file with 9 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,12 +8,15 @@ ver=$( curl -s -H 'Pragma: no-cache' "https://api.github.com/repos/Jackett/Jacke echo ">>> Latest Jackett version $ver" case $( uname -m | tr '[:upper:]' '[:lower:]') in x86_64 ) targetos=LinuxAMD ;; aarch64 ) targetos=LinuxARM64 ;; aarch32 | armv7* ) targetos=LinuxARM32 ;; * ) echo "Unsupported OS, exiting..." exit 1 -
TopperBG revised this gist
Nov 10, 2022 . 1 changed file with 22 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,29 @@ #!/bin/sh pkg update pkg upgrade -y pkg install proot-distro wget pkg clean pkg autoclean ver=$( curl -s -H 'Pragma: no-cache' "https://api.github.com/repos/Jackett/Jackett/releases/latest" | awk -F '"' '/tag_name/{print $4}' | tr -d '[:cntrl:]' ) echo ">>> Latest Jackett version $ver" case $( uname -m | tr '[:upper:]' '[:lower:]') in "x86_64" ) targetos=LinuxAMD;; "aarch64" ) targetos=LinuxARM64;; "aarch32"|"armv7*" ) targetos=LinuxARM32;; * ) echo "Unsupported OS, exiting..." exit 1 ;; esac URL=$( curl -s -H 'Pragma: no-cache' "https://api.github.com/repos/Jackett/Jackett/releases/latest" | grep browser_download_url | cut -d '"' -f 4 | grep ${targetos} ) wget "$URL" -O /sdcard/Download/Jackett.Binaries.tar.gz #rm -rf /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/root/Jackett proot-distro install debian proot-distro login debian -- tar -xvzf /sdcard/Download/Jackett.Binaries.tar.gz echo "~/Jackett/jackett_launcher.sh" >> /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/root/.bashrc echo "proot-distro login debian" > ~/.bashrc sync -
TopperBG revised this gist
Oct 25, 2022 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ #!/bin/sh pkg update pkg upgrade -y pkg install -y proot-distro wget -
TopperBG created this gist
Oct 25, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/sh set -eu pkg update pkg upgrade -y pkg install -y proot-distro wget pkg autoremove -y wget https://github.com/Jackett/Jackett/releases/download/v0.20.2163/Jackett.Binaries.LinuxAMDx64.tar.gz -O /sdcard/Download/Jackett.Binaries.LinuxAMDx64.tar.gz proot-distro install debian proot-distro login debian -- tar -xvzf /sdcard/Download/Jackett.Binaries.LinuxAMDx64.tar.gz echo "~/Jackett/jackett_launcher.sh" >> /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/root/.bashrc echo "proot-distro login debian" > ~/.bashrc sync exit 0