diff options
author | allddd | 2023-08-06 18:58:43 +0200 |
---|---|---|
committer | allddd | 2023-08-06 18:58:43 +0200 |
commit | 2b76398a983db1024487cd721802b29d70f7cfc0 (patch) | |
tree | d224226923f7ac21220222d9d0fd3c227ceb074d | |
parent | 6eeff85ee6e75ee154ae56556348ac716b3f9498 (diff) | |
download | aur-2b76398a983db1024487cd721802b29d70f7cfc0.tar.gz |
create user in post_upgrade to prevent chown/mod error
-rw-r--r-- | tuptime.install | 2 |
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}) |