From e23b0a76a6f69b948f7a73c50447305ac63eb467 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 8 May 2016 09:09:53 +0200 Subject: checkMissingLink: style --- bin/checkMissingLink | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'bin/checkMissingLink') diff --git a/bin/checkMissingLink b/bin/checkMissingLink index f1ea0df..4b53f79 100755 --- a/bin/checkMissingLink +++ b/bin/checkMissingLink @@ -1,15 +1,13 @@ -#!/bin/sh +#!/bin/sh file=$1 id=$(echo "$file" | sed 's/.*\(.\{11\}\)\.ogg/\1/') -#Wattie_Green_-_Dark_eyes-gdlFy3dRVck.ogg - if [ $id = '' ]; then echo 'no id' exit 23 fi -if ! grep -q -- "$id#" links; then +if ! grep -q -- "$id#" links; then echo $file -fi \ No newline at end of file +fi -- cgit v1.2.3