summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorallddd2023-08-06 18:58:43 +0200
committerallddd2023-08-06 18:58:43 +0200
commit2b76398a983db1024487cd721802b29d70f7cfc0 (patch)
treed224226923f7ac21220222d9d0fd3c227ceb074d
parent6eeff85ee6e75ee154ae56556348ac716b3f9498 (diff)
downloadaur-2b76398a983db1024487cd721802b29d70f7cfc0.tar.gz
create user in post_upgrade to prevent chown/mod error
-rw-r--r--tuptime.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/tuptime.install b/tuptime.install
index 2611dbf0a885..b8e814a455e1 100644
--- a/tuptime.install
+++ b/tuptime.install
@@ -17,6 +17,8 @@ post_upgrade() {
echo -e '\nUser "tuptime" was replaced with "_tuptime", you may remove it. \n'
fi
+ /usr/bin/systemd-sysusers
+
local dir='/var/lib/tuptime'
if [ -d ${dir} ]; then
local owner=$(stat -c %U%G ${dir})