diff options
author | Alexei Colin | 2017-09-24 19:02:25 -0400 |
---|---|---|
committer | Alexei Colin | 2017-09-24 19:02:25 -0400 |
commit | 08e8245905cf888e3d218361a9d5813b618feabf (patch) | |
tree | 701003781e9a0e5f8f7e5f922cd50c919e02f380 | |
parent | 76d7855b1dd49c27aa4a4982450c24334b1c2219 (diff) | |
download | aur-08e8245905cf888e3d218361a9d5813b618feabf.tar.gz |
notes,install: create data dir automatically
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | taskd.install | 2 | ||||
-rw-r--r-- | taskd.notes | 3 |
3 files changed, 2 insertions, 5 deletions
@@ -22,7 +22,7 @@ source=("${pkgname}::git+https://git.tasktools.org/scm/tm/taskd.git#branch=${_br sha256sums=('SKIP' '5e518f8dda08c8b8d564f2a52452227924ebb15ec8182e7af83cc1f82cfa4cf1' - '61911b0af9bbdfd4aca5f462823e46951328ef2e8a0f21428ac52d164d2ebf38') + '784116a5f749d113f05f46c3e1f362c0237d3e8748abd1f5856b9baaa26bd935') arch=('i686' 'x86_64' 'armv6h' 'armv7h') backup=('etc/conf.d/taskd') diff --git a/taskd.install b/taskd.install index 849614a69b16..bbb3c42abec3 100644 --- a/taskd.install +++ b/taskd.install @@ -4,7 +4,7 @@ pre_install() { # add taskd user if it doesn't exist getent passwd taskd &> /dev/null || \ - useradd --system -d /var/lib/taskd -g taskd taskd + useradd --system -m -d /var/lib/taskd -g taskd taskd } post_install() { diff --git a/taskd.notes b/taskd.notes index 4e43074c20b6..3e2ff4c52051 100644 --- a/taskd.notes +++ b/taskd.notes @@ -17,9 +17,6 @@ # Source the environment variables export $(cat /etc/conf.d/taskd | sed -e '/^#/d' -e '/^\s*$/d') -# Create the storage path -sudo install -o taskd -g taskd -Dm770 -d /var/lib/taskd - # Initialize the database taskd init sudo chown taskd: $TASKDDATA/* # this may be necessary to do again after adding |