diff --git a/post/run.sh b/post/run.sh index 066941c..4091707 100644 --- a/post/run.sh +++ b/post/run.sh @@ -38,6 +38,9 @@ curl -o /usr/local/bin/deploy https://git.xoservice.nl/marcel/deploy/raw/master/ chown root:root /usr/local/bin/deploy chmod ug+x /usr/local/bin/deploy +echo -e "${GREEN}Optimizing makepkg settings...${NOCOL}" +sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGs="-j$(nproc)"/g' /etc/makepkg.conf + echo -e "${RED}All done, reboot in 10 seconds...${NOCOL}" sleep 10 reboot