install.sh: db is at $PREFIX/share

This commit is contained in:
Leonid Pliushch 2020-11-19 15:20:30 +02:00
parent 8ad9e1cbf9
commit c54e499fc1
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
NAME="whatprovides"
mkdir -p $PREFIX/opt/${NAME}
cp -r db $PREFIX/opt/${NAME}
mkdir -p $PREFIX/share/${NAME}
cp -r db $PREFIX/share/${NAME}
cp ${NAME} $PREFIX/bin
echo "Installation finished. execute $NAME -h for help"