Score
0
Watch 232 Star 618 Fork 274

GVPlins05 / seafileCGPL-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
专业可靠的私有云存储平台 spread retract

http://www.seafile.com

  • C 84.3%
  • Python 12.8%
  • M4 1.6%
  • Shell 0.6%
  • Makefile 0.4%
  • Other 0.3%
Clone or download
updateversion.sh 604 Bytes
Copy Edit Web IDE Raw Blame History
#! /bin/sh
if [ $# != "2" ]; then
echo "$0 <old_version> <new_version>"
exit
fi
old_ver=$1
new_ver=$2
if test "$(uname)" = "Darwin"; then
sed -i '' -e "s|$old_ver|$new_ver|" web/setup_mac.py
sed -i '' -e "s|VERSION=$old_ver|VERSION=$new_ver|" setupmac.sh
sed -i '' -e "s|<string>$old_ver</string>|<string>$new_ver</string>|" gui/mac/seafile/seafile/*.plist
else
sed -i "s|$old_ver|$new_ver|" web/setup_mac.py
sed -i "s|VERSION=$old_ver|VERSION=$new_ver|" setupmac.sh
sed -i "s|<string>$old_ver</string>|<string>$new_ver</string>|" gui/mac/seafile/seafile/*.plist
fi

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/lins05/seafile.git
git@gitee.com:lins05/seafile.git
lins05
seafile
seafile
master

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542