15 Nov
2011
15 Nov
'11
6:29 p.m.
This is fixed in pacman 4.0, but thought people might find this super simple script helpful. A lot of people will find `/etc/cron.hourly/` missing due to the removal of the adjtime cronjob; but at least on my system there were a few more missing directories found. $ sudo /tmp/find-missing-dirs.sh Password: /usr/share/icons/hicolor/16x16/devices/ /usr/share/icons/hicolor/22x22/devices/ /usr/share/icons/hicolor/32x32/devices/ $ sudo /tmp/find-missing-dirs.sh | xargs sudo mkdir $ sudo /tmp/find-missing-dirs.sh -Dan $ cat /tmp/find-missing-dirs.sh #!/bin/bash IFS=$'\n' for path in $(pacman -Qql | grep '/$' | sort | uniq); do if [[ ! -d $path ]]; then echo $path fi done