File tree 3 files changed +29
-1
lines changed
3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ TERMUX_PKG_ESSENTIAL=true
10
10
TERMUX_PKG_BREAKS=" termux-keyring (<< 1.9)"
11
11
TERMUX_PKG_CONFLICTS=" procps (<< 3.3.15-2)"
12
12
TERMUX_PKG_SUGGESTS=" termux-api"
13
- TERMUX_PKG_CONFFILES=" etc/motd"
13
+ TERMUX_PKG_CONFFILES=" etc/motd
14
+ etc/motd-playstore"
14
15
15
16
# Some of these packages are not dependencies and used only to ensure
16
17
# that core packages are installed after upgrading (we removed busybox
@@ -48,6 +49,7 @@ termux_step_make_install() {
48
49
done
49
50
50
51
install -Dm600 $TERMUX_PKG_BUILDER_DIR /motd $TERMUX_PREFIX /etc/motd
52
+ install -Dm600 $TERMUX_PKG_BUILDER_DIR /motd-playstore $TERMUX_PREFIX /etc/motd-playstore
51
53
ln -sfr $TERMUX_PREFIX /bin/termux-open $TERMUX_PREFIX /bin/xdg-open
52
54
53
55
mkdir -p $TERMUX_PREFIX /share/man/man1
Original file line number Diff line number Diff line change 7
7
unset TERMUX_HUSHLOGIN
8
8
fi
9
9
10
+ # TERMUX_VERSION env variable has been exported since v0.107 and PATH was being set to following value in <0.104. Last playstore version was v0.101.
11
+ if [ $# = 0 ] && [ -f @TERMUX_PREFIX@/etc/motd-playstore ] && [ -z " $TERMUX_VERSION " ] && [ " $PATH " = " @TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets" ]; then
12
+ printf ' \033[0;31m' ; cat @TERMUX_PREFIX@/etc/motd-playstore; printf ' \033[0m'
13
+ fi
14
+
10
15
if [ -G ~ /.termux/shell ]; then
11
16
export SHELL=" ` realpath ~ /.termux/shell` "
12
17
else
Original file line number Diff line number Diff line change
1
+
2
+ You are likely using a very old version of Termux,
3
+ probably installed from the Google Play Store.
4
+ There are plans in the near future to remove the
5
+ Termux apps from the Play Store so that new users
6
+ cannot install them and to **disable** them for
7
+ existing users with updates so that they do not
8
+ continue using outdated versions. Instead, you
9
+ are encouraged to move to F-Droid or Github sources
10
+ (see [1]). You can backup all your current Termux
11
+ data before uninstallation and then restore it later
12
+ by following instructions in the wiki [2]. Check
13
+ the changelog [3] for all the new features and fixes
14
+ that you are currently missing. Check [4] for why
15
+ this is being done.
16
+
17
+ [1] https://github.com/termux/termux-app#installation
18
+ [2] https://wiki.termux.com/wiki/Backing_up_Termux
19
+ [3] https://github.com/termux/termux-app/releases
20
+ [4] https://github.com/termux/termux-app#google-play-store-deprecated
21
+
You can’t perform that action at this time.
0 commit comments