diff options
| -rw-r--r-- | raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf | 1 | ||||
| -rw-r--r-- | raveos-calamares-theme/etc/systemd/system/reflector-once.service | 14 |
2 files changed, 1 insertions, 14 deletions
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf index cd28eaa..e20300f 100644 --- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf +++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf @@ -23,4 +23,5 @@ script: - "if [ -x ${ROOT}/usr/lib/raveos-cosmic-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-cosmic-theme/auto-apply.sh; fi" - "if [ -x ${ROOT}/usr/lib/raveos-kde-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-kde-theme/auto-apply.sh; fi" - "if [ -x ${ROOT}/usr/lib/raveos-hyprland-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-hyprland-theme/auto-apply.sh; fi" + - "install -Dm644 /etc/systemd/system/reflector-once.service ${ROOT}/etc/systemd/system/reflector-once.service" - "chroot ${ROOT} systemctl enable reflector-once.service"
\ No newline at end of file diff --git a/raveos-calamares-theme/etc/systemd/system/reflector-once.service b/raveos-calamares-theme/etc/systemd/system/reflector-once.service deleted file mode 100644 index b21c1fa..0000000 --- a/raveos-calamares-theme/etc/systemd/system/reflector-once.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Update pacman mirrorlist with reflector -Wants=network-online.target -After=network-online.target -ConditionPathExists=/etc/systemd/system/reflector-once.service -After=multi-user.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/reflector -c HU,AT,DE,PL,CZ --protocol https --sort rate --latest 20 --download-timeout 10 --threads 5 --save /etc/pacman.d/mirrorlist -ExecStartPost=/bin/systemctl disable reflector-once.service - -[Install] -WantedBy=multi-user.target |