-if ! grep -q '\[ -f '%{_sysconfdir}'/bash_completion \]' \
- %{_sysconfdir}/bashrc 2>/dev/null; then
- umask 022
- cat <<'EOF' >> %{_sysconfdir}/bashrc
-# START bash completion -- do not remove this line
-bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ "$PS1" ] && [ "$bmajor" -eq 2 ] && [ "$bminor" '>' 04 ] \
- && [ -f %{_sysconfdir}/bash_completion ]; then # interactive shell
- # Source completion code
- . %{_sysconfdir}/bash_completion
-fi
-unset bash bmajor bminor
-# END bash completion -- do not remove this line
-EOF
-fi
+if [ ! -f /var/cache/rpmpkgs.txt ]; then
+ touch /var/cache/rpmpkgs.txt
+ chown root:wheel /var/cache/rpmpkgs.txt
+ chmod 664 /var/cache/rpmpkgs.txt