aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rarian/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/rarian/pkg-plist b/textproc/rarian/pkg-plist
index 36c2cbb7324d..5ee652c2f27e 100644
--- a/textproc/rarian/pkg-plist
+++ b/textproc/rarian/pkg-plist
@@ -49,6 +49,7 @@ share/librarian/rarian-sk-cl.xml
@dirrm share/librarian
@dirrm %%DOCSDIR%%
@dirrm include/rarian
-@unexec rm -rf /var/db/rarian 2>/dev/null || true
+@unexec rmdir /var/db/rarian/* 2>/dev/null || true
+@dirrmtry /var/db/rarian
@exec mkdir -p /var/db/rarian
@exec %%PREFIX%%/bin/rarian-sk-update || true