SPECS (AC-branch): poldek.spec - no need to copy use_sudo, it's en...

glen glen at pld-linux.org
Sun Nov 27 21:42:42 CET 2005


Author: glen                         Date: Sun Nov 27 20:42:42 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- no need to copy use_sudo, it's enabled automatically for non-root users
- shorten migrate message

---- Files affected:
SPECS:
   poldek.spec (1.197.2.62 -> 1.197.2.63) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.62 SPECS/poldek.spec:1.197.2.63
--- SPECS/poldek.spec:1.197.2.62	Wed Nov 23 09:38:45 2005
+++ SPECS/poldek.spec	Sun Nov 27 21:42:37 2005
@@ -253,12 +253,7 @@
 	}
 
 	}' < /etc/poldek.conf.rpmsave >> /etc/poldek/source.conf
-	echo "Converted old custom sources (non-ac dist ones) from /etc/poldek.conf.rpmsave to new poldek format in /etc/poldek/source.conf"
-
-	# propagate use_sudo to new config. only works for untouched poldek.conf and that's intentional.
-	if grep -q '^use_sudo.*=.*yes' /etc/poldek.conf.rpmsave; then
-		sed -i -e '/^#use sudo = no/s/^.*/use sudo = yes/' /etc/poldek/poldek.conf
-	fi
+	echo "Converted old custom sources from /etc/poldek.conf.rpmsave to new poldek format in /etc/poldek/source.conf"
 
 	# copy hold=
 	hold=$(grep ^hold /etc/poldek.conf.rpmsave)
@@ -301,6 +296,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197.2.63  2005/11/27 20:42:37  glen
+- no need to copy use_sudo, it's enabled automatically for non-root users
+- shorten migrate message
+
 Revision 1.197.2.62  2005/11/23 08:38:45  qboosh
 - use x8664 macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.197.2.62&r2=1.197.2.63&f=u




More information about the pld-cvs-commit mailing list