mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
chore: update install script to work (added sudo to mv) and update gitignore
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user