Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 5 commits
  • 5 files changed
  • 0 commit comments
  • 2 contributors
View
2  Makefile
@@ -1,4 +1,4 @@
-VERSION = 5.47.1
+VERSION = 5.48
PN = profile-sync-daemon
PREFIX ?= /usr
View
3  README.md
@@ -7,8 +7,9 @@ Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage your browse
* Epiphany
* Firefox (stable, beta, and aurora)
* Firefox-trunk (this is an Ubuntu-only browser: http://www.webupd8.org/2011/05/install-firefox-nightly-from-ubuntu-ppa.html)
-* Heftig's version of Aurora (this is an Arch Linux-only browser: https://bbs.archlinux.org/viewtopic.php?id=117157)
* Google Chrome (stable, beta, and dev)
+* Heftig's version of Aurora (this is an Arch Linux-only browser: https://bbs.archlinux.org/viewtopic.php?id=117157)
+* Icecat (GNU version of Firefox)
* Luakit
* Midori
* Opera and Opera-Next
View
28 common/profile-sync-daemon.in
@@ -43,6 +43,7 @@ ALL_BROWSERS=(
google-chrome-beta
google-chrome-unstable
heftig-aurora
+ icecat
midori
opera
opera-next
@@ -110,6 +111,9 @@ dep_check() {
heftig-aurora)
return
;;
+ icecat)
+ return
+ ;;
midori)
return
;;
@@ -264,6 +268,25 @@ set_which() {
done
fi
;;
+ icecat)
+ if [[ -d $homedir/.mozilla/icecat ]]; then
+ profileArr=( $(grep '[P,p]'ath= $homedir/.mozilla/icecat/profiles.ini |
+ sed 's/[P,p]ath=//') )
+ index=0
+ PSNAME="$browser"
+ for profileItem in ${profileArr[@]}; do
+ if [[ $(echo $profileItem | cut -c1) = "/" ]]; then
+ # path is not relative
+ DIRArr[index]="$profileItem"
+ else
+ # we need to append the default path to give a
+ # fully qualified path
+ DIRArr[index]="$homedir/.mozilla/icecat/$profileItem"
+ fi
+ index=$index+1
+ done
+ fi
+ ;;
seamonkey)
if [[ -d $homedir/.mozilla/seamonkey ]]; then
profileArr=( $(grep '[P,p]'ath= $homedir/.mozilla/seamonkey/profiles.ini |
@@ -320,6 +343,7 @@ dup_check() {
if [[ "$browser" = "firefox" ]] ||
[[ "$browser" = "firefox-trunk" ]] ||
[[ "$browser" = "heftig-aurora" ]] ||
+ [[ "$browser" = "icecat" ]] ||
[[ "$browser" = "seamonkey" ]]
then
if [[ -z ${DIRArr[@]} ]]; then
@@ -410,6 +434,7 @@ parse_conf_file() {
[[ "$browser" = "firefox" ]] ||
[[ "$browser" = "firefox-trunk" ]] ||
[[ "$browser" = "heftig-aurora" ]] ||
+ [[ "$browser" = "icecat" ]] ||
[[ "$browser" = "seamonkey" ]] &&
suffix="-${item##*/}" ||
suffix=
@@ -450,6 +475,7 @@ ungraceful_state_check() {
[[ "$browser" = "firefox" ]] ||
[[ "$browser" = "firefox-trunk" ]] ||
[[ "$browser" = "heftig-aurora" ]] ||
+ [[ "$browser" = "icecat" ]] ||
[[ "$browser" = "seamonkey" ]] &&
suffix="-${item##*/}" ||
suffix=
@@ -488,6 +514,7 @@ do_sync() {
[[ "$browser" = "firefox" ]] ||
[[ "$browser" = "firefox-trunk" ]] ||
[[ "$browser" = "heftig-aurora" ]] ||
+ [[ "$browser" = "icecat" ]] ||
[[ "$browser" = "seamonkey" ]] &&
suffix="-${item##*/}" ||
suffix=
@@ -538,6 +565,7 @@ do_unsync() {
[[ "$browser" = "firefox" ]] ||
[[ "$browser" = "firefox-trunk" ]] ||
[[ "$browser" = "heftig-aurora" ]] ||
+ [[ "$browser" = "icecat" ]] ||
[[ "$browser" = "seamonkey" ]] &&
suffix="-${item##*/}" ||
suffix=
View
3  common/psd.conf
@@ -14,7 +14,7 @@
# Do NOT list a user twice!
#
# Example
-# USERS="facade happy"
+# USERS="facade debbie"
USERS=""
# List browsers separated by spaces to include in the sync. Useful if you do not
@@ -31,6 +31,7 @@ USERS=""
# google-chrome-beta
# google-chrome-unstable
# heftig-aurora
+# icecat
# luakit
# midori
# opera
View
8 doc/psd.1
@@ -1,5 +1,5 @@
.\" Text automatically generated by txt2man
-.TH profile-sync-daemon 1 "29 March 2014" "" ""
+.TH profile-sync-daemon 1 "21 June 2014" "" ""
.SH NAME
\fBprofile-sync-daemon \fP- Symlinks and syncs browser profiles to RAM (tmpfs) thus reducing HDD/SSD calls and speeding-up browsers.
\fB
@@ -22,7 +22,7 @@ Since the \fBprofile\fP(s), browser cache*, etc. are relocated into tmpfs (RAM d
.SH SETUP
/etc/psd.conf contains all user managed settings.
.PP
-WARNING -- Do NOT change anything in /etc/psd.conf while psd is running since data loss may occur! Any edits made to the file while psd is running will be applied only after psd has been restarted from the init service.
+WARNING -- Any edits made to /etc/psd.conf while psd is running will be applied only after psd has been restarted from the init service.
.RS
.IP \(bu 3
At a minimum, define which \fBuser\fP(s) will have their profiles managed by psd and note that at least one user must be defined.
@@ -124,6 +124,8 @@ Google Chrome (stable,beta,dev)
.IP \(bu 3
Heftig's version of Aurora (Arch Linux: https://bbs.archlinux.org/viewtopic.php?id=117157)
.IP \(bu 3
+Icecat
+.IP \(bu 3
Luakit
.IP \(bu 3
Midori
@@ -180,7 +182,7 @@ OpenSUSE
.IP \(bu 3
Mint (14+)
.IP \(bu 3
-Ubuntu (10.04-13.10)
+Ubuntu (10.04+)
.IP \(bu 3
Void Linux
.RE

No commit comments for this range

Something went wrong with that request. Please try again.