All pastes #242249 Raw Edit

Mine

public shellscript v1 · immutable
·published 2006-11-07 01:08 UTC
rendered paste body
--- tovid-init.in       (revision 1258)+++ tovid-init.in       (working copy)@@ -586,7 +586,17 @@     # ------------------------------------------------------------------------------     # Plugin tools-    PLUGIN_DEPS="sox normalize"+    # debian based distros install normalize as+    # "normalize-audio" rather than "normalize"+    if ! which normalize >/dev/null; then+        if which normalize-audio > /dev/null; then+            NORMALIZE="normalize-audio"+        fi+    else+        NORMALIZE="normalize"+    fi+    PLUGIN_DEPS="sox $NORMALIZE"+     sox_msg="swiss army knife for sound (sox.sf.net)"     normalize_msg="wave gain and normalization (normalize.nongnu.org)"===================================================================--- tovid       (revision 1258)+++ tovid       (working copy)@@ -1693,7 +1697,7 @@         fi         # Normalize the wave file.-        $FAKE || normalize $AUDIO_AMPLITUDE "${AUDIO_WAV[@]}"+        $FAKE || $NORMALIZE $AUDIO_AMPLITUDE "${AUDIO_WAV[@]}"     fi     AUDIO_ENC=( $PRIORITY ffmpeg )