summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake2017-04-04 12:21:02 +0200
committerJake2017-04-04 12:21:02 +0200
commit668292d72834496b2aab451877e45015ac6cbd80 (patch)
treed65d00ac6c5e0ab3698ef88d69e353eaf33a028e
parent217600b7ee3edda8aefd86cfd82b92fca1ca0e8d (diff)
downloadaur-668292d72834496b2aab451877e45015ac6cbd80.tar.gz
chown to octoprint
(allows writes for plugin installation)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rwxr-xr-xoctoprint.install1
3 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5f9febd65e6..f5cf3d7359f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 34d4e92ede9c..a8d344721474 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"