Bug 1524031 - rootfs-resize has copy-pasto in scriptlet
Summary: rootfs-resize has copy-pasto in scriptlet
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rootfs-resize
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Tyler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-09 14:04 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2017-12-25 18:37 UTC (History)
2 users (show)

Fixed In Version: rootfs-resize-2.0-10.fc27 rootfs-resize-2.0-10.fc26 rootfs-resize-2.0-10.el7
Clone Of:
Environment:
Last Closed: 2017-12-12 11:26:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2017-12-09 14:04:24 UTC
Description of problem:
$ rpm -q --scripts rootfs-resize
postinstall scriptlet (using /bin/sh):

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        systemctl --no-reload preset rootfs-resize.service >/dev/null 2>&1 || : 
fi
preuninstall scriptlet (using /bin/sh):

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        systemctl --no-reload disable --now rootfs-resize.service > /dev/null 2>&1 || : 
fi
postuninstall scriptlet (using /bin/sh):

if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        systemctl try-restart apache-httpd.service >/dev/null 2>&1 || : 
                              ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
fi

Version-Release number of selected component (if applicable):
rootfs-resize-2.0-9.fc27.noarch

Comment 1 Fedora Update System 2017-12-10 02:04:36 UTC
rootfs-resize-2.0-10.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2eb4cd9f99

Comment 2 Fedora Update System 2017-12-10 02:05:42 UTC
rootfs-resize-2.0-10.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e46cbb0d2

Comment 3 Fedora Update System 2017-12-10 02:06:46 UTC
rootfs-resize-2.0-10.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-a7da43ae6f

Comment 4 Fedora Update System 2017-12-10 21:48:33 UTC
rootfs-resize-2.0-10.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2eb4cd9f99

Comment 5 Fedora Update System 2017-12-10 22:01:22 UTC
rootfs-resize-2.0-10.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-a7da43ae6f

Comment 6 Fedora Update System 2017-12-11 00:19:05 UTC
rootfs-resize-2.0-10.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e46cbb0d2

Comment 7 Fedora Update System 2017-12-12 11:26:41 UTC
rootfs-resize-2.0-10.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-12-18 20:31:04 UTC
rootfs-resize-2.0-10.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-12-25 18:37:53 UTC
rootfs-resize-2.0-10.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.