Fixed browser profile bug, line breaks and exceptions in news_check
This commit is contained in:
8
geckodriver/edit_profile.sh
Normal file
8
geckodriver/edit_profile.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
if [ -d "/firefox_profile/news_fetch.profile" ]
|
||||
then
|
||||
echo "Profile already exists, skipping folder creation"
|
||||
else
|
||||
echo "Creating empty folder for profile"
|
||||
mkdir -p /firefox_profile/news_fetch.profile/
|
||||
fi
|
||||
firefox --profile /firefox_profile/news_fetch.profile
|
Reference in New Issue
Block a user