Aleks loves xargs syntax >_>

This commit is contained in:
Alexandre Aubin 2023-06-12 00:25:38 +02:00
parent 1222c47620
commit 313a16476a

View file

@ -184,8 +184,8 @@ do_post_regen() {
# Stupid fix for a previous commit that changed /dev/null perms because some files in /etc/systemd/system are symlinks >_>
chown 666 /dev/null
find /etc/systemd/system/*.service -type f | xargs -r0 chown root:root
find /etc/systemd/system/*.service -type f | xargs -r0 chmod 0644
find /etc/systemd/system/*.service -type f | xargs -r chown root:root
find /etc/systemd/system/*.service -type f | xargs -r chmod 0644
if ls -l /etc/php/*/fpm/pool.d/*.conf
then