Added user license file and license bad name check
This commit is contained in:
+4
-4
@@ -6,9 +6,9 @@ if [ "$#" -ge 1 ]; then
|
||||
PREFIX="$1"
|
||||
fi
|
||||
|
||||
export DATA_PATH="$PREFIX/share/license-tool"
|
||||
export GLOBAL_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"
|
||||
printf "Installing licenses to '%s'\n" "$GLOBAL_DATA_PATH"
|
||||
rm -rf "$GLOBAL_DATA_PATH"
|
||||
cp -R licenses "$GLOBAL_DATA_PATH"
|
||||
|
||||
Reference in New Issue
Block a user