------------------------------
i=~/.mozilla/swiftweasel
if [ -d $i ]
then
echo the settings directory exists
else
cd ~/.mozilla
cp -r firefox /tmp
cd /tmp
mv firefox swiftweasel
mv swiftweasel ~/.mozilla/
cd ~/.mozilla/swiftweasel
FILE3="profiles.ini"
OUT3=$(awk -FPath= '{ print $2 }' $FILE3)
mv $OUT3 tmp1
mkdir tmp2
cp -r ./tmp1/extensions ./tmp2
cp -rf ./tmp1/* ./tmp2
mv tmp2 $OUT3
rm -rfd tmp1
fi
-------------------------------
What aim these lines ?
`cp -r ~/.mozilla/firefox ~/.mozilla/swiftweasel` or `i inflame your hard drive` ?
Why not use the standard ~/.mozilla/firefox at all ?
The same for swiftdove.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That section of code is what imports your settings from firefox. There are a few reasons why I import settings and dont share the folders.
1. It allows you to run Swiftweasel/Swiftdove and Firefox/Thunderbird at the same time if you want to compare them.
2. It removes any possibility of someone complaining that Swiftweasel/Swiftdove messed up their Firefox/Thunderbird install or settings.
3. It really makes Swiftweasel and Swiftdove their own programs imho.
I also dont see any down side to it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
swiftweasel*.tar.gz/swiftweasel/swiftweasel: lines 52-71
------------------------------
i=~/.mozilla/swiftweasel
if [ -d $i ]
then
echo the settings directory exists
else
cd ~/.mozilla
cp -r firefox /tmp
cd /tmp
mv firefox swiftweasel
mv swiftweasel ~/.mozilla/
cd ~/.mozilla/swiftweasel
FILE3="profiles.ini"
OUT3=$(awk -FPath= '{ print $2 }' $FILE3)
mv $OUT3 tmp1
mkdir tmp2
cp -r ./tmp1/extensions ./tmp2
cp -rf ./tmp1/* ./tmp2
mv tmp2 $OUT3
rm -rfd tmp1
fi
-------------------------------
What aim these lines ?
`cp -r ~/.mozilla/firefox ~/.mozilla/swiftweasel` or `i inflame your hard drive` ?
Why not use the standard ~/.mozilla/firefox at all ?
The same for swiftdove.
Thanks.
That section of code is what imports your settings from firefox. There are a few reasons why I import settings and dont share the folders.
1. It allows you to run Swiftweasel/Swiftdove and Firefox/Thunderbird at the same time if you want to compare them.
2. It removes any possibility of someone complaining that Swiftweasel/Swiftdove messed up their Firefox/Thunderbird install or settings.
3. It really makes Swiftweasel and Swiftdove their own programs imho.
I also dont see any down side to it.