bulk-downloader-for-reddit/devscripts/configure.sh

5 lines
150 B
Bash
Raw Normal View History

2021-05-15 18:11:01 +08:00
if [ ! -z "$REDDIT_TOKEN" ]
then
cp ./bdfr/default_config.cfg ./test_config.cfg
echo -e "\nuser_token = $REDDIT_TOKEN" >> ./test_config.cfg
fi