Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install repo paths on install or update #136

Open
BClark09 opened this issue Dec 17, 2018 · 1 comment
Open

Install repo paths on install or update #136

BClark09 opened this issue Dec 17, 2018 · 1 comment

Comments

@BClark09
Copy link
Member

BClark09 commented Dec 17, 2018

If it doesn't exist already, we should add the openHAB repository to the sources list.

The repo/list file should enable the current repository by default.

For apt based Linux:

/etc/apt/sources.list.d/openhab2.list

### openHAB 2.X Repositories ###

# This file contains the repos for the different versions of openHAB.
# Remove the hash comment on the deb line to enable a particular repo

## openHAB Stable Repository
deb https://dl.bintray.com/openhab/apt-repo2 stable main

## openHAB Testing Repository
#deb https://openhab.jfrog.io/openhab/openhab-linuxpkg testing main

## openHAB Snapshot Repository
#deb https://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main

For rpm based Linux

/etc/yum.repos.d/openhab2.repo

### openHAB 2.X Repositories ###

# This file contains the repos for the different versions of openHAB.
# set enabled to 1/0 to enable/disable a repo respectively

[openHAB-Stable]
name=openHAB 2.x.x Snapshots
baseurl=https://dl.bintray.com/openhab/rpm-repo2/stable
gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=1

[openHAB-Testing]
name=openHAB 2.x.x Snapshots
baseurl=https://openhab.jfrog.io/openhab/openhab-linuxpkg-rpm/testing
gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=0

[openHAB-Snapshots]
name=openHAB 2.x.x Snapshots
baseurl=https://openhab.jfrog.io/openhab/openhab-linuxpkg-rpm/unstable
gpgcheck=1
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=openhab
enabled=0
@BClark09
Copy link
Member Author

As a note, this will be useful when/if we need to transition to another repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant