Skip to content

Commit

Permalink
Update install.sh /usr/bin to /usr/local/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
yorukot committed May 11, 2024
1 parent 065905c commit a38987c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@

All notable changes to this project will be documented in this file. Dates are displayed in UTC(YYYY/MM/DD).


# [**v1.1.3**]()

> xxxx/xx/xx
#### Update
- Update print path list [`37c8864`](https://github.com/MHNightCat/superfile/commit/37c8864eb2b0dc73fbf8928dd40b3b7573e9a11dw)

# [**v1.1.2**]()
#### Bug fix
- Recursive symlink crashes superfile [`#109`](https://github.com/MHNightCat/superfile/issues/109)


# [**v1.1.2**](https://github.com/MHNightCat/superfile/releases/tag/v1.1.2)

> 2024/05/08
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ tar -xzf "${file_name}.tar.gz"
echo -e "${bright_yellow}Installing ${cyan}${package}...${nc}"
cd ./dist/${file_name}
chmod +x ./spf
if sudo mv ./spf /usr/bin/; then
if sudo mv ./spf /usr/local/bin/; then
echo -e "🎉 ${bright_green}Installation complete!${nc}"
echo -e "${bright_cyan}You can type ${white}\"${bright_yellow}spf${white}\" ${bright_cyan}to start!${nc}"
else
echo -e "${red}❌ Fail install superfile: ${yellow}Unable to move binary to /usr/bin. Do you have sudo permissions?${nc}"
echo -e "${red}❌ Fail install superfile: ${yellow}Unable to move binary to /usr/local/bin. Do you have sudo permissions?${nc}"
fi

rm -rf "$temp_dir"

0 comments on commit a38987c

Please sign in to comment.