diff --git a/.gitignore b/.gitignore index a28581a..e6b2aa3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ # Custom dist author_file +cover.out go.work go.sum go.work.sum -go.work \ No newline at end of file +go.work diff --git a/installer/install.sh b/installer/install.sh index 1b37535..ba4ebfc 100755 --- a/installer/install.sh +++ b/installer/install.sh @@ -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