diff options
author | Jake | 2017-04-04 12:21:02 +0200 |
---|---|---|
committer | Jake | 2017-04-04 12:21:02 +0200 |
commit | 668292d72834496b2aab451877e45015ac6cbd80 (patch) | |
tree | d65d00ac6c5e0ab3698ef88d69e353eaf33a028e | |
parent | 217600b7ee3edda8aefd86cfd82b92fca1ca0e8d (diff) | |
download | aur-668292d72834496b2aab451877e45015ac6cbd80.tar.gz |
chown to octoprint
(allows writes for plugin installation)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | octoprint.install | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = octoprint-venv pkgdesc = The snappy snappy web interface for your 3D printer! (virtualenv installation type) pkgver = 1.3.2 - pkgrel = 1 + pkgrel = 2 url = http://octoprint.org/ install = octoprint.install arch = any @@ -3,7 +3,7 @@ pkgname=octoprint-venv pkgver=1.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="The snappy snappy web interface for your 3D printer! (virtualenv installation type)" arch=('any') url="http://octoprint.org/" diff --git a/octoprint.install b/octoprint.install index cdb6d888c8b7..216d54b5a10e 100755 --- a/octoprint.install +++ b/octoprint.install @@ -6,6 +6,7 @@ post_install() { mkdir -p $HOMEDIR chmod 700 $HOMEDIR chown -R octoprint:octoprint $HOMEDIR + chown -R octoprint:octoprint /opt/octoprint-venv echo "To start octoprint, run: systemctl start octoprint" echo "To enable octoprint at boot, run: systemctl enable octoprint" |