Add install.sh

This commit is contained in:
kcubeterm 2020-11-18 09:30:32 +00:00
parent 80b1346560
commit 1d22cff99b
2 changed files with 7 additions and 1 deletions

6
install.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
mkdir -p $PREFIX/opt/termux-provides
cp -r db $PREFIX/opt/termux-provides
cp termux-provides $PREFIX/bin
echo "Installation finished. execute termux-provides -h for help"

View File

@ -1,6 +1,6 @@
#!/bin/bash
SCRIPTNAME=termuxprovides
TWSRC="/data/data/com.termux/files/home/kcubeterm/termuxexpo/db"
TWSRC="$PREFIX/opt/termux-provides/db"
package () {
cat "$TWSRC/$@"