Compare commits

..

2 commits

Author SHA1 Message Date
Antoine Vaure
03c111430b add config for ipva02; same as ipva01
All checks were successful
/ build-all (push) Successful in 39s
2026-04-21 11:15:10 +02:00
Antoine Vaure
b365acc403 better rm to trash conversion
All checks were successful
/ build-all (push) Successful in 49s
2026-04-21 11:14:21 +02:00

View file

@ -67,18 +67,14 @@
${pkgs.ffmpeg}/bin/ffmpeg -hide_banner -v error $argv[..-2] -i $argv[-1] -map 0:v -f md5 - ${pkgs.ffmpeg}/bin/ffmpeg -hide_banner -v error $argv[..-2] -i $argv[-1] -map 0:v -f md5 -
''; '';
rm.body = '' rm.body = ''
if type -q trash if which trash >/dev/null
trash $argv trash $argv
else else
if not test $TRASH_MESSAGE_PRINTED if test $TRASH_MESSAGE_PRINTED != 1
echo (set_color blue)"trash-cli not installed! Falling back to using unforgiving rm"(set_color reset) echo (set_color blue)"trash-cli not installed ! falling back to using unforgiving rm"
set -gx TRASH_MESSAGE_PRINTED 1 set TRASH_MESSAGE_PRINTED 1
end
if type -q /usr/bin/rm
/usr/bin/rm $argv
else
${pkgs.coreutils}/bin/rm $argv
end end
rm $argv
end end
''; '';
}; };