summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiorgio Gilestro2022-03-15 10:24:53 +0000
committerGiorgio Gilestro2022-03-15 10:24:53 +0000
commitf297287d1d594f775af78bf52e2b3c31bc99c34d (patch)
tree548ece2808a5ef06021802f627671efb5ba106f0
parent8ea046b4b4c4de6f5fbdfebbfa990c8ba26fb3a8 (diff)
downloadaur-ethoscope-node.tar.gz
Hopefuly fixes for good some issues related to the GIT source
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--ethoscope-node.install4
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 636556fe079e..00926baf0b17 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ethoscope-node
pkgdesc = A platform for monitoring animal behaviour in real time from a raspberry pi
pkgver = r1969.g0521648
- pkgrel = 1
+ pkgrel = 2
url = http://lab.gilest.ro/ethoscope
install = ethoscope-node.install
arch = any
@@ -38,4 +38,3 @@ pkgbase = ethoscope-node
md5sums = SKIP
pkgname = ethoscope-node
-
diff --git a/PKGBUILD b/PKGBUILD
index 489771427a02..731bd153a7ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ethoscope-node
pkgver=r1969.g0521648
-pkgrel=1
+pkgrel=2
pkgdesc="A platform for monitoring animal behaviour in real time from a raspberry pi"
arch=('any')
url="http://lab.gilest.ro/ethoscope"
@@ -50,6 +50,7 @@ package() {
#install service files
cd "${srcdir}"/"${pkgname}"/scripts/
install -D --mode=0755 ethoscope_node.service ethoscope_backup.service ethoscope_video_backup.service "${pkgdir}/usr/lib/systemd/system/"
+
cd "${srcdir}"/"${pkgname}"/scripts/ethoscope_updater/
install -D --mode=0755 ethoscope_update_node.service "${pkgdir}/usr/lib/systemd/system/"
diff --git a/ethoscope-node.install b/ethoscope-node.install
index a99a4072bd53..34b3301c03b7 100644
--- a/ethoscope-node.install
+++ b/ethoscope-node.install
@@ -6,8 +6,8 @@
# arg 1: the new package version
post_install() {
#echo "changing the remote GIT source to local BARE created during installation"
- #cd /opt/ethoscope-node
- #git remote set-url origin /srv/git/ethoscope.git
+ cd /opt/ethoscope-node
+ git remote set-url origin /srv/git/ethoscope.git
#setting branch
git checkout dev