Skip to content

Commit

Permalink
Merge pull request #123 from motom001/development
Browse files Browse the repository at this point in the history
installer for app without sudo and for daemon with sudo
  • Loading branch information
motom001 committed Sep 24, 2015
2 parents d630b11 + 9751f27 commit e4e2a5c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ before_install:
- .travis/before_install.sh

install:
- sudo -H python setup.py install
- .travis/install.sh

script:
- .travis/script.sh
Expand Down
7 changes: 7 additions & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@
set -e # Exit immediately if a command exits with a non-zero status.
set -x # Print commands and their arguments as they are executed.

if [[ $START_MODE = "application" ]]; then
python setup.py install
fi

if [[ $START_MODE = "daemon" ]]; then
sudo -H python setup.py install
fi
2 changes: 1 addition & 1 deletion doorpi/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
package = 'DoorPi'
project = "VoIP Door-Intercomstation with Raspberry Pi"
project_no_spaces = project.replace(' ', '')
version = '2.4.1.5'
version = '2.4.1.6'
description = 'provide intercomstation to the doorstation by VoIP'
keywords = ['intercom', 'VoIP', 'doorstation', 'home automation', 'IoT']
authors = ['Thomas Meissner']
Expand Down

0 comments on commit e4e2a5c

Please sign in to comment.