summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2015-08-30 13:41:05 -0400
committergraysky2015-08-30 13:41:05 -0400
commit83b78f26a9d76a0b88daf1d6c20d6bc2d46e7533 (patch)
treea119ee1fc6155a50ffd10cb49ef0d425efa508bf
parentfc09ad80486b244f36dd2bd126f384a93ba30e62 (diff)
downloadaur-83b78f26a9d76a0b88daf1d6c20d6bc2d46e7533.tar.gz
Update to 6.00pre.r0.g515a1a5.unstable-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
-rw-r--r--psd.install35
3 files changed, 19 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d7f17673f4e1..bec97aa57e6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = profile-sync-daemon-git
pkgdesc = Syncs browser profiles to tmpfs. Unstable git version!
- pkgver = 5.68.r3.gd8188fc.unstable
+ pkgver = 6.00pre.r0.g515a1a5.unstable
pkgrel = 1
url = https://github.com/graysky2/profile-sync-daemon
install = psd.install
diff --git a/PKGBUILD b/PKGBUILD
index 8bad7b693da1..b734b8b435e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='profile-sync-daemon-git'
_pkgname='profile-sync-daemon'
-pkgver=5.68.r3.gd8188fc.unstable
+pkgver=6.00pre.r0.g515a1a5.unstable
pkgrel=1
pkgdesc='Syncs browser profiles to tmpfs. Unstable git version!'
arch=('any')
@@ -36,10 +36,6 @@ build() {
package() {
cd "$_pkgname"
-
- # note if you want to use openrc rather than systemd, change the below make
- # target to 'install-openrc-all' before building and be sure that you read
- # the INSTALL document provided in the source tarball!
- make DESTDIR="$pkgdir" install-systemd-all
+ make DESTDIR="$pkgdir" install
install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
diff --git a/psd.install b/psd.install
index b9cbd46dbb74..8360e262349c 100644
--- a/psd.install
+++ b/psd.install
@@ -1,24 +1,21 @@
-DAEMON_FILE="/run/psd"
-
post_install() {
echo '--> WARNING! DEVELOPMENT VERSION!'
+ echo '--> ALWAYS backup your profile data before using utils like psd!'
echo
- echo '--> Define which users will make use of the sync in /etc/psd.conf'
- echo '--> Read the manpage before use or see the wiki page'
- echo '--> https://wiki.archlinux.org/index.php/Profile-sync-daemon'
+ echo ' SPECIAL UPGRADE INSTRUCTIONS YOU MUST FOLLOW:'
echo
- echo '--> ALWAYS backup your profile data before using utils like psd!'
-}
-
-
-pre_remove() {
- if [ -e $DAEMON_FILE ]; then
- if ! systemd-notify --booted; then # not using systemd
- echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.'
- /etc/rc.d/psd stop
- else
- echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.'
- /usr/bin/systemctl stop psd.service
- fi
- fi
+ echo '1) If you are running psd version 5.x YOU MUST STOP IT BEFORE CONTINUING.'
+ echo
+ echo '2) If any browsers are running, exit them now.'
+ echo
+ echo '3) The new psd.conf resides in $HOME/.psd/psd.conf'
+ echo ' and it will be created for you on first use.'
+ echo
+ echo '4) Starting with version 6 of psd, there will be no /etc/psd.conf'
+ echo ' nor will you use systemd in system mode to call the service.'
+ echo ' Each user shall run his/her own USER psd.service to use'
+ echo ' like this: systemctl --user start psd.service'
+ echo
+ echo '5) Users wanting to use overlayfs mode MUST have sudo access to'
+ echo ' both mount and umount or psd will exit informing you of this.'
}