format things ...
This commit is contained in:
parent
d6c6b2d18d
commit
7968601e67
@ -28,9 +28,8 @@
|
||||
readonly mode=$(echo $1 | tr -d '-')
|
||||
readonly md5list="$2"
|
||||
moviedir="$3"
|
||||
}
|
||||
|
||||
{ #db
|
||||
#db
|
||||
dbname=$(grep -v '#' $globalconf | grep ^dbname= | sed "s|^dbname=||g" | tr -d '"')
|
||||
dbhost=$(grep -v '#' $globalconf | grep ^dbhost= | sed "s|^dbhost=||g" | tr -d '"')
|
||||
dbuser=$(grep -v '#' $globalconf | grep ^dbuser= | sed "s|^dbuser=||g" | tr -d '"')
|
||||
|
@ -32,9 +32,8 @@
|
||||
moviedir=""$(echo $moviedir | sed 's|/$||g')""
|
||||
[ -z "$moviedir" ] && exit 255 #catch case moviedir="/"
|
||||
readonly DATE=$(date '+%Y-%m-%d')
|
||||
}
|
||||
|
||||
{ #db
|
||||
#db
|
||||
dbname=$(grep -v '#' $globalconf | grep ^dbname= | sed "s|^dbname=||g" | tr -d '"')
|
||||
dbhost=$(grep -v '#' $globalconf | grep ^dbhost= | sed "s|^dbhost=||g" | tr -d '"')
|
||||
dbuser=$(grep -v '#' $globalconf | grep ^dbuser= | sed "s|^dbuser=||g" | tr -d '"')
|
||||
|
Loading…
Reference in New Issue
Block a user