[caja-dropbox] 06/09: debian/caja-dropbox.{postinst, prerm}: Fix evoking caja-dropbox (script has been renamed after fork from nautilus-dropbox). Make sure the dropbox binary download works properly.
Mike Gabriel
sunweaver at debian.org
Sun Jan 3 08:14:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository caja-dropbox.
commit a2a004407bc69fa516065e1f11d52c2dff1a3469
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sun Jan 3 09:01:09 2016 +0100
debian/caja-dropbox.{postinst,prerm}: Fix evoking caja-dropbox (script has been renamed after fork from nautilus-dropbox). Make sure the dropbox binary download works properly.
---
debian/caja-dropbox.postinst | 4 ++--
debian/caja-dropbox.prerm | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/caja-dropbox.postinst b/debian/caja-dropbox.postinst
index 9f58aeb..e96e7e4 100644
--- a/debian/caja-dropbox.postinst
+++ b/debian/caja-dropbox.postinst
@@ -7,7 +7,7 @@ UPDATENOTIFIERDIR=/var/lib/update-notifier/user.d
case "$1" in
configure)
unset DISPLAY # No GUI launched from postinst please
- dropbox update || true
+ caja-dropbox update || true
echo "Please restart all running instances of Caja, or you will experience problems. i.e. caja --quit"
@@ -37,7 +37,7 @@ DROPBOXEND
cat > $UPDATENOTIFIERDIR/dropbox-start-required <<DROPBOXEND
Name: Dropbox Start Required
Priority: High
-Command: dropbox start -i
+Command: caja-dropbox start -i
Terminal: False
DontShowAfterReboot: True
DisplayIf: dropbox running > /dev/null
diff --git a/debian/caja-dropbox.prerm b/debian/caja-dropbox.prerm
index 0de6bca..19ccde9 100644
--- a/debian/caja-dropbox.prerm
+++ b/debian/caja-dropbox.prerm
@@ -4,8 +4,8 @@ set -e
case "$1" in
remove)
- dropbox stop || true
- killall dropbox || true
+ caja-dropbox stop || true
+ killall caja-dropbox || true
rm -f /var/lib/update-notifier/user.d/dropbox-restart-required
rm -f /var/lib/update-notifier/user.d/dropbox-start-required
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/caja-dropbox.git
More information about the pkg-mate-commits
mailing list