Check presence of firefox default-release directory
This commit is contained in:
parent
22fa21b1ea
commit
ac40fc8327
@ -204,7 +204,13 @@ EOF
|
||||
cp -r ~/config/.config/ ~/
|
||||
cp -r ~/config/.local/ ~/
|
||||
#cp -r ~/config/Dokumente ~/
|
||||
cp -r ~/config/.mozilla/firefox/default-release/* ~/.mozilla/firefox/*.default-release/
|
||||
# NOTE check if firefox default-release directory exists. 1 is good, 0 is bad
|
||||
firefoxdir=$(find ~/.mozilla/firefox/ -name \*.default-release | wc -l)
|
||||
if [[ $firefoxdir -eq 1 ]]; then
|
||||
cp -r ~/config/.mozilla/firefox/default-release/* ~/.mozilla/firefox/*.default-release/
|
||||
else
|
||||
echo "Please launch firefox and then update the config again"
|
||||
fi
|
||||
cp -r ~/config/.easystroke ~/
|
||||
cp -r ~/config/.elvish ~/
|
||||
cp -r ~/config/.doom.d ~/
|
||||
|
Loading…
Reference in New Issue
Block a user