aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-16 14:50:19 +0100
committerDennis Eriksen <d@ennis.no>2019-11-16 14:50:19 +0100
commitac0dcc3129662e60ff17b0d3961205336a44b404 (patch)
treee110a7509d57a17543a473be7336d0298f8e8028 /mkosi.postinst
parentfuck ubuntus motd (diff)
downloadmkosi-bitwarden_rs-ac0dcc3129662e60ff17b0d3961205336a44b404.tar.gz
forgot this file might not exist the first time postinst is run
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 1e2a735..7d47fcf 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -9,7 +9,7 @@ systemctl mask motd-news.timer
# set up bitwarden
-mv /bitwarden_rs /usr/local/bin/
+mv /bitwarden_rs /usr/local/bin/ || echo "building"
mkdir /var/lib/bitwarden_rs /etc/bitwarden_rs
useradd -d /var/lib/bitwarden_rs --system bitwarden_rs