X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/27ce01e83bf0264b9aed9595226ef84f07ca0f52..0775a3e0cc01773a7693bb23017a98bb525b00e8:/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"