Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
  • 7 commits
  • 5 files changed
  • 0 commit comments
  • 1 contributor
4 CHANGELOG
View
@@ -1,3 +1,7 @@
+19-Mar-2014
+v5.47.1
+Minor cleanup to code and man page.
+
17-Mar-2014
v5.47
Added support for epiphany.
2  Makefile
View
@@ -1,4 +1,4 @@
-VERSION = 5.47
+VERSION = 5.47.1
PN = profile-sync-daemon
PREFIX ?= /usr
3  README.md
View
@@ -4,6 +4,7 @@ Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage your browse
##Supported Browsers
* Chromium
* Conkeror
+* 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)
@@ -23,7 +24,7 @@ To build from source, see the included INSTALL text document.
##Installation from Distro Packages
* ![logo](http://www.monitorix.org/imgs/archlinux.png "arch logo")Arch: in the [AUR](https://aur.archlinux.org/packages/profile-sync-daemon).
-* ![logo](http://chakra-linux.org/img/icon/chakra-kde_32.png "chakra logo")Chakra: in the [CCR](http://chakra-linux.org/ccr/packages.php?ID=5008).
+* ![logo](http://s18.postimg.org/w5jvz71mt/chakra.jpg "chakra logo")Chakra: in the [CCR](http://chakraos.org/ccr/packages.php?ID=5008).
* ![logo](http://freedos-32.sourceforge.net/lean/debian_logo.png "debian logo")Debian: in graysky's PPA, See instruction below.
* ![logo](http://cloud.ohloh.net/attachments/14589/me_small.png "exherbo logo")Exherbo: in the Exherbo [repos](http://git.exherbo.org/summer/packages/net-www/profile-sync-daemon).
* ![logo](http://s9.postimg.org/p5f1tscxn/fedora.jpg "fedora logo")Fedora: in the official [repos](http://koji.fedoraproject.org/koji/packageinfo?packageID=16307).
8 common/profile-sync-daemon.in
View
@@ -394,7 +394,7 @@ parse_conf_file() {
# using other init system + cron job for resync
[[ -x /etc/cron.hourly/psd-update ]] && resync_state="present" || resync_state="not present"
[[ "$resync_state" = "present" ]] && resync_color=${GRN} || resync_color=${RED}
- echo -e " ${BLD}Daemon pid file is $([[ -f $DAEMON_FILE ]] && \
+ echo -e " ${BLD}Daemon pid file is $([[ -f $DAEMON_FILE ]] &&
echo -e ${GRN}present${NRM}${BLD} || echo -e ${RED}not present${NRM}${BLD})."${NRM}
echo -e " ${BLD}Resync cronjob is ${resync_color}${resync_state}${NRM}${BLD}."${NRM}
fi
@@ -492,7 +492,7 @@ do_sync() {
suffix="-${item##*/}" ||
suffix=
# make tmpfs container
- if [[ -d $DIR ]]; then
+ if [[ -d "$DIR" ]]; then
[[ -r "$VOLATILE/$user-$browser$suffix" ]] ||
install -dm755 --owner=$user --group=$group "$VOLATILE/$user-$browser$suffix"
@@ -502,7 +502,7 @@ do_sync() {
fi
# sync the tmpfs targets to the disc
- if [[ -e $DIR/.flagged ]]; then
+ if [[ -e "$DIR"/.flagged ]]; then
rsync -aog --delete-after --inplace --no-whole-file --exclude .flagged "$DIR/" "$BACKUP/"
else
# initial sync
@@ -578,7 +578,7 @@ case "$1" in
do_unsync
;;
*)
- echo -e "${RED}Profile-sync-daemon v$VERS${NRM}"
+ echo -e "${BLD}Profile-sync-daemon v$VERS${NRM}"
echo
echo -e " ${BLD}$0 ${NRM}${GRN}[option]${NRM}"
echo -e " ${BLD} ${NRM}${GRN}preview${NRM}${BLD} Parse config file (${NRM}${BLU}${PSDCONF}${NRM}${BLD}) to see which profiles will be managed."${NRM}
4 doc/psd.1
View
@@ -1,10 +1,10 @@
.\" Text automatically generated by txt2man
-.TH profile-sync-daemon 1 "17 March 2014" "" ""
+.TH profile-sync-daemon 1 "29 March 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
.SH DESCRIPTION
-Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage browser \fBprofile\fP(s) in tmpfs and to periodically sync back to the physical disc (HDD/SSD). This is accomplished by an innovative use of rsync to maintain synchronization between a tmpfs copy and media-bound backup of your browser \fBprofile\fP(s). Additionally, psd features several crash recovery features.
+Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage browser \fBprofile\fP(s) in tmpfs and to periodically sync back to the physical disc (HDD/SSD). This is accomplished by an innovative use of rsync to maintain synchronization between a tmpfs copy and media-bound backup of the browser \fBprofile\fP(s). Additionally, psd features several crash recovery features.
.PP
Design goals of psd:
.RS

No commit comments for this range

Something went wrong with that request. Please try again.