Fixes issues regarding pacman scripts, causing interrupted system calls