Initial commit

This commit is contained in:
2022-10-06 23:45:57 -07:00
commit 569d921e2a
13 changed files with 2430 additions and 0 deletions
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
PREFIX="/usr/local"
if [ "$#" -ge 1 ]; then
PREFIX="$1"
fi
export DATA_PATH="$PREFIX/share/license-tool"
cargo install --path . --root "$PREFIX"
printf "Installing licenses to '%s'\n" "$DATA_PATH"
rm -rf "$DATA_PATH"
cp -R licenses "$DATA_PATH"