diff --git a/initial-setup.spec b/initial-setup.spec index f12a577667e1137ffb8e5c09b1741ddbbb4180a8..ad7e3dba9aaeb431f9b4f293c2426fe1b58b2eda 100644 --- a/initial-setup.spec +++ b/initial-setup.spec @@ -1,6 +1,6 @@ Name: initial-setup Version: 0.3.83 -Release: 1 +Release: 2 Summary: Initialize system configuration for a newly installed computer License: GPLv2+ URL: https://github.com/rhinstaller/initial-setup @@ -44,23 +44,6 @@ make test %clean rm -rf %{buildroot} -%pre -if [ $1 -gt 1 ] ; then - IS_GRAPHICAL_AVAILABLE=0 - IS_TEXT_AVAILABLE=0 - systemctl is-enabled initial-setup-graphical.service && IS_GRAPHICAL_AVAILABLE=1 - systemctl is-enabled initial-setup-text.service && IS_TEXT_AVAILABLE=1 - if [ $IS_GRAPHICAL_AVAILABLE -eq 1 ]; then - systemctl stop initial-setup-graphical.service - systemctl disable initial-setup-graphical.service - fi - if [ $IS_TEXT_AVAILABLE -eq 1 ]; then - systemctl stop initial-setup-text.service - systemctl disable initial-setup-text.service - fi -fi - - %post %systemd_post %{name}.service @@ -82,6 +65,9 @@ fi %changelog +* Mon Jun 12 2023 chenchen - 0.3.83-2 +- Remove old failing pre scriptlet + * Tues Feb 22 2022 yangping - 0.3.83-1 - Upgrade to 0.3.83