diff options
author | István Váradi <ivaradi@users.noreply.github.com> | 2017-05-24 20:35:43 +0300 |
---|---|---|
committer | Daniel Hansson <daniel@techandme.se> | 2017-05-24 20:35:43 +0300 |
commit | cdd0889e223fa4f75a46ba3d8c9b653b1315450b (patch) | |
tree | 8b11cd3a79352c44fda986177568f9ae662a76b6 | |
parent | 169f067b56df5af4a2d3c1f9adb6cd00342cbeb1 (diff) |
OBS_SUBDIR is also set to the beta package, if needed (#157)
-rw-r--r-- | README.md | 13 | ||||
-rwxr-xr-x | linux/debian/travis-build.sh | 10 |
2 files changed, 21 insertions, 2 deletions
@@ -13,6 +13,19 @@ sudo apt-get install nextcloud-client ``` Launchpad: https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client +### Beta packages + +```bash +sudo add-apt-repository ppa:nextcloud-devs/client-beta +sudo apt-get update +sudo apt-get install nextcloud-client +``` +Launchpad: https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client-beta + +If you always want the latest versions (including the betas), add both +repositories. If you want only the stable version, add the non-beta +repository only. + ## Snaps ### Building the snap diff --git a/linux/debian/travis-build.sh b/linux/debian/travis-build.sh index 5e010fa..438d824 100755 --- a/linux/debian/travis-build.sh +++ b/linux/debian/travis-build.sh @@ -11,7 +11,6 @@ PPA_BETA=ppa:nextcloud-devs/client-beta OBS_PROJECT=home:ivaradi OBS_PACKAGE=nextcloud-client OBS_PACKAGE_BETA=nextcloud-client-beta -OBS_SUBDIR="${OBS_PROJECT}/${OBS_PACKAGE}" if [ "$TRAVIS_BUILD_STEP" == "install" ]; then sudo apt-get update -q @@ -37,9 +36,15 @@ elif [ "$TRAVIS_BUILD_STEP" == "script" ]; then echo "$kind" > kind + if test "$kind" = "beta"; then + repo=client-beta + else + repo=client + fi + origsourceopt="" #if ! wget http://ppa.launchpad.net/ivaradi/nextcloud-client-exp/ubuntu/pool/main/n/nextcloud-client/nextcloud-client_${basever}.orig.tar.bz2; then - if ! wget http://ppa.launchpad.net/nextcloud-devs/client/ubuntu/pool/main/n/nextcloud-client/nextcloud-client_${basever}.orig.tar.bz2; then + if ! wget http://ppa.launchpad.net/nextcloud-devs/${repo}/ubuntu/pool/main/n/nextcloud-client/nextcloud-client_${basever}.orig.tar.bz2; then mv client_theming nextcloud-client_${basever} tar cjf nextcloud-client_${basever}.orig.tar.bz2 --exclude .git nextcloud-client_${basever} mv nextcloud-client_${basever} client_theming @@ -87,6 +92,7 @@ elif [ "$TRAVIS_BUILD_STEP" == "snap_store_deploy" ]; then PPA=$PPA_BETA OBS_PACKAGE=$OBS_PACKAGE_BETA fi + OBS_SUBDIR="${OBS_PROJECT}/${OBS_PACKAGE}" if test "$encrypted_585e03da75ed_key" -a "$encrypted_585e03da75ed_iv"; then for changes in nextcloud-client_*~+([a-z])1_source.changes; do |