This commit is contained in:
parent
49703433c0
commit
4cfdfade4a
18 changed files with 133 additions and 102 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
source ../.util.sh
|
||||
|
||||
ver=`curl -s --head https://download.sonatype.com/nexus/3/latest-unix.tar.gz | grep location | cut -d' ' -f2`
|
||||
ver=$(curl -s --head https://download.sonatype.com/nexus/3/latest-unix.tar.gz | grep location | cut -d' ' -f2)
|
||||
ver=${ver%-unix*}
|
||||
ver=${ver##*nexus-}
|
||||
echo $ver
|
||||
|
@ -10,6 +10,4 @@ array=(${ver//-/ })
|
|||
sed -i "s/_version=.*/_version=${array[0]}/" PKGBUILD
|
||||
sed -i "s/_patch=.*/_patch=${array[1]}/" PKGBUILD
|
||||
|
||||
update_pkg
|
||||
|
||||
rm nexus-*.tar.gz
|
||||
update_pkg
|
Loading…
Add table
Add a link
Reference in a new issue