chore: update install script to work (added sudo to mv) and update gitignore

This commit is contained in:
Slug-Boi
2024-12-13 10:28:51 +01:00
parent fa866a7914
commit de72d1a35c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ if [ ! -d "$(dirname "$target_dir")" ]; then
exit 1
fi
mv $file "$target_dir"
sudo mv $file "$target_dir"
if [ $? -ne 0 ]; then
echo "Failed to move the binary to $target_dir"
exit 1