diff --git a/scripts/install b/scripts/install index 1df6021..86fc2f4 100755 --- a/scripts/install +++ b/scripts/install @@ -35,8 +35,9 @@ pushd $install_dir/web/ ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/ popd +mv $install_dir/web/web $install_dir/simplytranslate +chmod +x "$install_dir/simplytranslate" ynh_remove_go -ynh_secure_remove --file="$install_dir/build/" #================================================= # SYSTEM CONFIGURATION