diff options
author | sukanka | 2023-01-05 20:45:36 +0800 |
---|---|---|
committer | sukanka | 2023-01-05 20:45:36 +0800 |
commit | 8f9d8a5be0ac305f9edf89ee7b975bd767f88c08 (patch) | |
tree | b303433987d32232ca63d0981f6eedee5b686577 /alist.install | |
parent | ac4ce4749a9af3e4f9fb93a56fd8898e757dfce0 (diff) | |
download | aur-8f9d8a5be0ac305f9edf89ee7b975bd767f88c08.tar.gz |
update to 3.8.0, remove post_upgrade
Diffstat (limited to 'alist.install')
-rw-r--r-- | alist.install | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/alist.install b/alist.install index 0b48d37d009b..a3b24d23d3cb 100644 --- a/alist.install +++ b/alist.install @@ -3,15 +3,3 @@ post_install(){ install -d /var/lib/alist/ install -d /var/cache/alist/temp } -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 " - echo -e "\033[31m sudo systemctl stop alist \033[0m" - echo -e "\033[31m sudo mv /usr/bin/data/data.db /var/lib/alist/data.db \033[0m" - echo -e "\033[31m sudo systemctl start alist \033[0m" - echo -e "\033[31m sudo rm -rf /usr/bin/data \033[0m" -} |