Update for fedora atomic
This commit is contained in:
parent
46cdfbe486
commit
e8242b0ad0
13 changed files with 99 additions and 15 deletions
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
EDITOR=nano
|
||||
|
||||
if [ $(whoami) == "root" ]; then
|
||||
echo "Run as a normal user, not root"
|
||||
|
@ -20,6 +19,17 @@ elif command_exists "dnf"; then
|
|||
cd ~
|
||||
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
||||
cd -
|
||||
elif command_exists "rpm-ostree"; then
|
||||
if ! command_exists "spamassassin"; then
|
||||
rpm-ostree install spamassassin claws-mail claws-mail-plugins-pgp claws-mail-plugins-spamassassin claws-mail-plugins-rssyl
|
||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
||||
reboot
|
||||
else
|
||||
sudo systemctl enable --now spamassassin.service
|
||||
cd ~
|
||||
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
||||
cd -
|
||||
fi
|
||||
elif command_exists "xbps-install"; then
|
||||
sudo xbps-install claws-mail spamassassin
|
||||
ln -s /etc/sv/spamd /var/service/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue