[apg] Fix odd space characters in scriptlets. Fixes bug #827815

Kevin Fenzi kevin at fedoraproject.org
Sun Jun 3 18:54:39 UTC 2012


commit 61d1ca2e05586f77434990494b320962c114881a
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Sun Jun 3 12:54:36 2012 -0600

    Fix odd space characters in scriptlets. Fixes bug #827815

 apg.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/apg.spec b/apg.spec
index e9268ac..5307d88 100644
--- a/apg.spec
+++ b/apg.spec
@@ -2,7 +2,7 @@ Summary:		Automated Password Generator for random password generation
 Name:			apg
 
 Version:		2.3.0b
-Release:		15%{?dist}
+Release:		16%{?dist}
 License:		BSD
 Group:			System Environment/Base
 URL:			http://www.adel.nursat.kz/%{name}/
@@ -61,21 +61,21 @@ if [ $? == 1 ]; then
 fi
 if [ $1 -eq 1 ]; then
     # Initial installation
-    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
 fi
 
 %preun
 if [ $1 -eq 0 ]; then
     # Package removal, not upgrade
-    /bin/systemctl --no-reload disable apg at .service > /dev/null 2>&1 || :
-    /bin/systemctl stop apg at .service > /dev/null 2>&1 || :
+    /bin/systemctl --no-reload disable apg at .service > /dev/null 2>&1 || :
+    /bin/systemctl stop apg at .service > /dev/null 2>&1 || :
 fi
 
 %postun
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-if [ $1 -ge 1 ] ; then
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+if [ $1 -ge 1 ]; then
     # Package upgrade, not uninstall
-    /bin/systemctl try-restart apg at .service >/dev/null 2>&1 || :
+    /bin/systemctl try-restart apg at .service >/dev/null 2>&1 || :
 fi
 
 %files
@@ -89,6 +89,9 @@ fi
 %{_unitdir}/%{name}.socket
 
 %changelog
+* Sun Jun 03 2012 Kevin Fenzi <kevin at scrye.com> 2.3.0b-16
+- Fix odd space characters in scriptlets. Fixes bug #827815
+
 * Wed May 30 2012 Kevin Fenzi <kevin at scrye.com> 2.3.0b-15
 - Fix typo in scriptlet. Fixes bug #826638
 


More information about the scm-commits mailing list