X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/01176e2d8f3b7e998c7ccea6bb73895150fc3d37..3d0baea2bb61f49e294831f8b6e334a7b93bdb25:/packages/proot/termux-chroot diff --git a/packages/proot/termux-chroot b/packages/proot/termux-chroot index 5dde068e..9a84101d 100755 --- a/packages/proot/termux-chroot +++ b/packages/proot/termux-chroot @@ -15,6 +15,11 @@ ARGS="-b /system:/system" # to find e.g. configurations files there work. ARGS="$ARGS -b $PREFIX/..:$PREFIX/.." +# Expose external and internal storage: +if [ -d /storage ]; then + ARGS="$ARGS -b /storage:/storage" +fi + # Mimic traditional Linux file system hierarchy - /usr: ARGS="$ARGS -b $PREFIX:/usr"