termux-app/termux-shared/src/main/java/com/termux/shared/file
agnostic-apollo a2df7d791a Fixed: Fix bootstrap not installing on app install
Previously, bootstrap was only installed if `$PREFIX` didn't exist, was empty or only had `$PREFIX/tmp`. But now with 03e1d14e, `$PREFIX/etc/termux/termux.env` was also created at app startup before bootstrap check was made, hence it was being assumed that bootstrap was already installed.

Now, bootstrap will be installed even if `$PREFIX/tmp`, `$PREFIX/etc/termux/termux.env.tmp` or `$PREFIX/etc/termux/termux.env` exist but no other files do.

Closes #2844
2022-06-18 05:53:26 +05:00
..
filesystem Changed: Add general compatibility fixes for `minSdkVerion` `21` 2022-05-24 01:19:45 +05:00
tests Fixed: Fix bootstrap not installing on app install 2022-06-18 05:53:26 +05:00
FileUtils.java Fixed: Fix bootstrap not installing on app install 2022-06-18 05:53:26 +05:00
FileUtilsErrno.java Fixed: Fix bootstrap not installing on app install 2022-06-18 05:53:26 +05:00