summaryrefslogtreecommitdiff
path: root/dump-download-provider.sh
blob: e6394962858b80a76b73bd8290b723e4af6f5fcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

PKG_NAME=download-provider

DUMP_DIR=$1/$PKG_NAME
/bin/mkdir -p $DUMP_DIR

# Download DB
DB_DIR=/opt/usr/data/download-provider/database
if [ "$DB_DIR" ]
then
	/bin/echo "copy download DB ..."
	/bin/cp -rf ${DB_DIR}* $DUMP_DIR
fi