mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: refactor linux workflow & build an alternative linux package for older distributions.
This commit is contained in:
7
frontend/scripts/linux_installer/postinst
Normal file
7
frontend/scripts/linux_installer/postinst
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
if [ -e /usr/local/bin/appflowy ]; then
|
||||
echo "Symlink already exists, skipping."
|
||||
else
|
||||
echo "Creating Symlink in /usr/local/bin/appflowy"
|
||||
ln -s /opt/AppFlowy/app_flowy /usr/local/bin/appflowy
|
||||
fi
|
4
frontend/scripts/linux_installer/postrm
Normal file
4
frontend/scripts/linux_installer/postrm
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
if [ -e /usr/local/bin/appflowy ]; then
|
||||
rm /usr/local/bin/appflowy
|
||||
fi
|
Reference in New Issue
Block a user