add a script to install all example scripts

This commit is contained in:
speedie 2023-03-26 01:36:27 +01:00
parent 67e89cdf3f
commit fab3ab5ab7
2 changed files with 3 additions and 0 deletions

3
scripts/examples/install.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
[ "$(id -u)" != "0" ] && printf "Run me as root.\n" && exit 1
cp -f spmenu* /usr/bin