Skip to content

Commit

Permalink
🚚 move tmux repo local
Browse files Browse the repository at this point in the history
  • Loading branch information
Yihan_G committed Dec 22, 2021
1 parent c4ac5b3 commit 64e7804
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file added resources/galaxy4-release-7-1.noarch.rpm
Binary file not shown.
4 changes: 3 additions & 1 deletion scripts/components/pyenv_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ is_done(){

check(){
# 这里写判断条件,如果已经安装了则返回1 否则返回0
if not command_exists zsh; then
if command_exists zsh; then
echo ""
else
fmt_error "zsh未安装"
exit 2
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/components/tmux_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ check(){
install_tmux(){
if [ "$os" = "centos" ]; then
# yum上的版本太老,换源装新版
curl -L http://galaxy4.net/repo/RHEL/7/noarch/galaxy4-release-7-1.noarch.rpm -o galaxy4-release-7-1.noarch.rpm
curl -L https://gitee.com/crownor/env/raw/master/resources/galaxy4-release-7-1.noarch.rpm -o galaxy4-release-7-1.noarch.rpm
echo $passwd | sudo yum install -y galaxy4-release-7-1.noarch.rpm
echo $passwd | sudo yum install -y tmux
elif [ "$os" = "ubuntu" ]; then
Expand Down

0 comments on commit 64e7804

Please sign in to comment.