wok-current rev 18782
Bugfix to sudo* pre_install()
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Sat Jan 02 22:26:27 2016 +0100 (2016-01-02) |
parents | d334cc1613e2 |
children | 1bbbc99b3df2 |
files | sudo-pam/receipt sudo/receipt |
line diff
1.1 --- a/sudo-pam/receipt Fri Jan 01 23:25:32 2016 +0100 1.2 +++ b/sudo-pam/receipt Sat Jan 02 22:26:27 2016 +0100 1.3 @@ -41,7 +41,7 @@ 1.4 1.5 pre_install() 1.6 { 1.7 - if [ -f "$1/etc/sudoers.bak" ]; then 1.8 + if [ -f "$1/etc/sudoers" ]; then 1.9 cp "$1/etc/sudoers" "$1/etc/sudoers.bak" 1.10 fi 1.11 }