Skip to content

Install repo paths on install or update #136

Open
@BClark09

Description

@BClark09

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions