termux-tools: fix copy-paste error in x11-packages url
Also run apt update after changing repositories
This commit is contained in:
parent
a626f4fb63
commit
e15f8c42be
@ -1,7 +1,7 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
||||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||||
TERMUX_PKG_VERSION=0.75
|
TERMUX_PKG_VERSION=0.76
|
||||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||||
TERMUX_PKG_ESSENTIAL=true
|
TERMUX_PKG_ESSENTIAL=true
|
||||||
|
@ -15,7 +15,7 @@ select_repository() {
|
|||||||
GAME="https://dl.bintray.com/grimler/game-packages-24"
|
GAME="https://dl.bintray.com/grimler/game-packages-24"
|
||||||
SCIENCE="https://dl.bintray.com/grimler/science-packages-24"
|
SCIENCE="https://dl.bintray.com/grimler/science-packages-24"
|
||||||
UNSTABLE="https://dl.bintray.com/xeffyr/unstable-packages"
|
UNSTABLE="https://dl.bintray.com/xeffyr/unstable-packages"
|
||||||
X11="https://dl.bintray.com/xeffyr/unstable-packages"
|
X11="https://dl.bintray.com/xeffyr/x11-packages"
|
||||||
|
|
||||||
elif [ "$1" == "Mirrors by Xeffyr" ]; then
|
elif [ "$1" == "Mirrors by Xeffyr" ]; then
|
||||||
echo "[*] Xeffyr's mirrors selected"
|
echo "[*] Xeffyr's mirrors selected"
|
||||||
@ -104,6 +104,7 @@ dialog \
|
|||||||
"Mirrors by Grimler" "Hosted on grimler.se" off \
|
"Mirrors by Grimler" "Hosted on grimler.se" off \
|
||||||
"Mirrors by Tsinghua University" "Hosted on mirrors.tuna.tsinghua.edu.cn" off \
|
"Mirrors by Tsinghua University" "Hosted on mirrors.tuna.tsinghua.edu.cn" off \
|
||||||
2> "$TEMPFILE"
|
2> "$TEMPFILE"
|
||||||
|
|
||||||
retval=$?
|
retval=$?
|
||||||
clear
|
clear
|
||||||
|
|
||||||
@ -123,3 +124,6 @@ case $retval in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
rm "$TEMPFILE"
|
rm "$TEMPFILE"
|
||||||
|
|
||||||
|
echo "[*] Running `apt update`"
|
||||||
|
apt update
|
||||||
|
Loading…
Reference in New Issue
Block a user