dot

packages and services management
Log | Files | Refs | README

commit aaa43b9ba5d7083a6ca4348208fdcbd70976f0bc
parent a65d82b81ff398f832e71abe65911e28041d56e0
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 30 Jan 2018 11:59:43 +0100

fix tinc build HOEM -> HOME variable

Diffstat:
Mbin/play | 7+++++--
Mbin/xdg-open | 2+-
Apack/movfuscator/git | 1+
Mpack/tinc/build | 10++++++----
4 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/bin/play b/bin/play @@ -1,6 +1,9 @@ -#!/bin/sh +#!/bin/sh -e IFS=' ' -exec mplayer $(find "$@" -type f | sort) +find "$@" -type f | sort | while IFS='' read -r song +do + ffplay "$song" +done diff --git a/bin/xdg-open b/bin/xdg-open @@ -198,7 +198,7 @@ esac exec mplayer -loop 0 "$1" ;; (*.webm|*.mp4|*.mkv|*.ogv|*.avi|*.opus|*.mp3|*.flac|*.ogg) - exec mplayer "$1" + exec ffplay "$1" ;; (*/music/*) exec play "$1" diff --git a/pack/movfuscator/git b/pack/movfuscator/git @@ -0,0 +1 @@ +git://github.com/xoreaxeaxeax/movfuscator diff --git a/pack/tinc/build b/pack/tinc/build @@ -1,11 +1,13 @@ #!/bin/sh -e +case "$(uname)" in (*BSD) make=gmake ;; (*) make=make ;; esac + ./configure --prefix="$OPT" \ --disable-lzo \ --disable-readline \ - --sysconfdir="$HOME/.config" \ - --localstatedir="$HOEM/.cache" + --sysconfdir="${HOME}/.config" \ + --localstatedir="${HOME}/.cache" -case $(uname) in (*BSD) gmake install ;; (*) make install ;; esac +$make install -mv "$OPT/sbin"/* "$OPT/bin" +mv "${OPT}/sbin"/* "${OPT}/bin"