spec: fix typo in %postun script
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 18 Nov 2020 04:07:24 +0000 (13:07 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 21 Mar 2024 14:38:33 +0000 (15:38 +0100)
Change-Id: Ib4b6481a67646e02f59a622c42ca84f26616a394

packaging/systemd.spec

index 53299e8..bf9e808 100644 (file)
@@ -457,7 +457,7 @@ if [ $1 -ge 1 ] ; then
        /usr/bin/systemctl daemon-reload > /dev/null 2>&1 || :
        /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
 fi
-if [$1 -eq 0 ] ; then
+if [ $1 -eq 0 ] ; then
        update-alternatives --remove systemd-shutdown %{_prefix}/lib/systemd/systemd-shutdown-original
        update-alternatives --remove reboot %{_sbindir}/reboot-original
        update-alternatives --remove halt %{_sbindir}/halt-original