mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-02 02:30:14 +00:00
Warning if not run in bash
This commit is contained in:
parent
ac410b3f6c
commit
a0e09aa774
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "$(dirname "$0")" || exit
|
cd "$(dirname "$0")" || exit
|
||||||
|
|
||||||
|
if [ ! "$BASH_VERSION" ] ; then
|
||||||
|
echo "Please do not use sh to run this script, just execute it directly" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
function Radiolist {
|
function Radiolist {
|
||||||
declare -A o="$1"
|
declare -A o="$1"
|
||||||
shift
|
shift
|
||||||
|
|
Loading…
Add table
Reference in a new issue