blob: c9f54c09a9984afb0e1efe5779af3255997eb5e5 (
plain) (
tree)
|
|
.POSIX:
install:
../check-installed-shebang resize-and-transcode
../check-installed-shebang resize-and-transcode-recursively
../check-in-path rmdir test rm mv mkdir printf sed grep rev cut ffprobe ffmpeg stat
../check-in-path wc && test "$$(stat -c '%s' ../README)" = "$$(wc -c < ../README | cut -d ' ' -f 1)"
mkdir -p -- ~/.local/bin
ln -sf -- ~/.dotfiles/ffmpeg/resize-and-transcode ~/.local/bin/
ln -sf -- ~/.dotfiles/ffmpeg/resize-and-transcode-recursively ~/.local/bin/
uninstall:
+! ../check-installed ffmpeg
-unlink -- ~/.local/bin/resize-and-transcode
-unlink -- ~/.local/bin/resize-and-transcode-recursively
|