Date: Sunday, October 16, 2022 @ 16:33:17
  Author: dvzrv
Revision: 458253

Simplify defining the backup array with the help of shell expansion.

Modified:
  shadow/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-16 15:56:28 UTC (rev 458252)
+++ PKGBUILD    2022-10-16 16:33:17 UTC (rev 458253)
@@ -21,9 +21,7 @@
 backup=(
   etc/default/useradd
   etc/login.defs
-  etc/pam.d/{chage,passwd,shadow,useradd,usermod,userdel}
-  etc/pam.d/{chpasswd,newusers,groupadd,groupdel,groupmod}
-  etc/pam.d/{chgpasswd,groupmems}
+  
etc/pam.d/{chage,{,ch,chg}passwd,group{add,del,mems,mod},newusers,shadow,user{add,del,mod}}
 )
 options=('!emptydirs')
 install=shadow.install

Reply via email to