Browse Source

extension

bookworm 0.1.10
pvincent 4 years ago
parent
commit
820d6f3b51
  1. 4
      src/main

4
src/main

@ -102,9 +102,11 @@ if [[ -d $HOME/.mozilla/firefox ]];then
fi fi
if [ $? -eq 0 ];then if [ $? -eq 0 ];then
echo "resume processing new firefox profile" echo "resume processing new firefox profile"
echo -n "please wait for a while..."
wget -q $GIT_REPOSITORY_RAW/files/firefox.tgz -O /tmp/firefox.tgz wget -q $GIT_REPOSITORY_RAW/files/firefox.tgz -O /tmp/firefox.tgz
rm -rf $HOME/.mozilla/firefox rm -rf $HOME/.mozilla/firefox
tar -xzvf /tmp/firefox.tgz -C $HOME/.mozilla/ tar -xzvf /tmp/firefox.tgz -C $HOME/.mozilla/
echo "DONE"
else else
echo "Omit firefox profile" echo "Omit firefox profile"
fi fi
@ -185,7 +187,7 @@ for key in "${!extensions[@]}"; do
echo -n "installing new extension <${value}>..." echo -n "installing new extension <${value}>..."
$FILE_IGE --enable $key $FILE_IGE --enable $key
echo DONE echo DONE
LOGOUT_REQUIRED=true
gnome-shell-extension-tool -e "${value}"
else else
echo "Extension <${value}> already installed!" echo "Extension <${value}> already installed!"
fi fi

Loading…
Cancel
Save