summarylogtreecommitdiffstats
path: root/pacman-dropins.install
blob: f142b5aad1afd81f99958cd99ac6fc18e9bba9a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

post_install() {
  # Configure pacman to load drop-in config files.
  grep -qe 'Include = \/etc\/pacman.d\/\*.conf' etc/pacman.conf || \
    printf '[options]\nInclude = /etc/pacman.d/*.conf' >> etc/pacman.conf
}

post_upgrade() {
  post_install
}