diff options
author | brx86 | 2022-03-08 12:03:12 +0800 |
---|---|---|
committer | brx86 | 2022-03-08 12:03:12 +0800 |
commit | fa54b9d52a11c2ae4fa9f307c6c7b3115db92624 (patch) | |
tree | e27f1ebca62cbb19044b40a14a1958f9bebc49b4 /alist.install | |
parent | 5b3a3e0d22a6df774512ccaad0c7fc63c0d5d6be (diff) | |
download | aur-fa54b9d52a11c2ae4fa9f307c6c7b3115db92624.tar.gz |
fix
Diffstat (limited to 'alist.install')
-rw-r--r-- | alist.install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/alist.install b/alist.install index b8f8719c7b32..a43eabbbb3fa 100644 --- a/alist.install +++ b/alist.install @@ -1,4 +1,7 @@ post_upgrade(){ + if [ ! -d "/var/lib/alist/" ]; then + mkdir /var/lib/alist/ + fi echo -e "\033[31m If you're upgrading from below 2.1.0-7 \033[0m" echo -e "\033[31m Please move your db file ( perhaps /usr/bin/data/data.db) to /var/lib/alist/data.db \033[0m" echo "You can run " |