diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-02 00:52:16 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-02 00:52:16 +0200 |
commit | 7201d68c2089f4e83126bcfc72e0658ce920a084 (patch) | |
tree | 606328683e0a12304967f4166fd6bd544564d450 /libre-testing/sudo/sudo.install | |
parent | 7b0e23aa952d001065f3f2432e4a6c57ac581b5c (diff) | |
download | abslibre-7201d68c2089f4e83126bcfc72e0658ce920a084.tar.gz abslibre-7201d68c2089f4e83126bcfc72e0658ce920a084.tar.bz2 abslibre-7201d68c2089f4e83126bcfc72e0658ce920a084.zip |
Add some base-devel packages for ppc64le
Diffstat (limited to 'libre-testing/sudo/sudo.install')
-rw-r--r-- | libre-testing/sudo/sudo.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libre-testing/sudo/sudo.install b/libre-testing/sudo/sudo.install new file mode 100644 index 000000000..abf58e37b --- /dev/null +++ b/libre-testing/sudo/sudo.install @@ -0,0 +1,9 @@ +pre_upgrade() { + # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10 + # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c + if (($(vercmp $2 1.8.10-1) < 0)); then + chmod 0711 var/db/sudo + fi +} + +# vim:set ts=2 sw=2 et: |