51cdbe0073
This will allow build system to set shebang according to the current TERMUX_PREFIX.
13 lines
335 B
Bash
Executable File
13 lines
335 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$#" != "0" ]; then
|
|
echo 'usage: termux-setup-storage'
|
|
echo 'Use without arguments to ensure storage permission granted'
|
|
echo 'and symlinks to storage available in $HOME/storage'
|
|
exit
|
|
fi
|
|
|
|
am broadcast --user 0 \
|
|
--es com.termux.app.reload_style storage \
|
|
-a com.termux.app.reload_style com.termux > /dev/null
|