diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index c1cb2000b..216dc25bc 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -18,6 +18,8 @@ # along with this program. If not, see . # +set -e + # Avoid creating world-unreadable files umask 022