https://bugzilla.rpmfusion.org/show_bug.cgi?id=3152
--- Comment #16 from Wolfgang Ulbrich <chat-to-me(a)raveit.de> 2014-01-27 15:59:05 CET
---
I forgot to say, if someome installs nautilus-dropbox from the repo package,
this installation will install the repo again.
Part of nautilus-dropbox spec file:
%post
/sbin/ldconfig
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
if [ $1 -gt 1 ] ; then
# Old versions of the rpm delete the files in postun. So just in case let's
make a backup copy. The backup copy will be restored in posttrans.
ln -f %{_libdir}/nautilus/extensions-3.0/libnautilus-dropbox.so{,.bak}
ln -f %{_libdir}/nautilus/extensions-2.0/libnautilus-dropbox.so{,.bak}
fi
for I in /home/*/.dropbox-dist;
do
# require a minimum version of 1.0.0
DROPBOX_VERSION="$I/VERSION"
if test -e "$DROPBOX_VERSION"; then
VERSION=`cat "$DROPBOX_VERSION"`
case "$VERSION" in
1.3.[0-7]|1.2.4[3-6]|0.*.*)
# 1.3.0-1.3.7 had a bug that prevents auto-update.
# 1.2.43-1.2.46 had a bug that prevents auto-update.
# stop dropbox
pkill -xf $I/dropbox > /dev/null 2>&1
sleep 0.5
rm -rf "$I"
esac
fi
done
DEFAULTS_FILE="/etc/default/dropbox-repo"
if [ ! -e "$DEFAULTS_FILE" ]; then
YUM_REPO_FILE="/etc/yum.repos.d/dropbox.repo"
if ! rpm -q gpg-pubkey-5044912e-4b7489b1 > /dev/null 2>&1 ; then
rpm --import - <<KEYDATA
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)
mQENBEt0ibEBCACv4hZRPqwtpU6z8+BB5YZU1a3yjEvg2W68+a6hEwxtCa2U++4d
zQ+7EqaUq5ybQnwtbDdpFpsOi9x31J+PCpufPUfIG694/0rlEpmzl2GWzY8NqfdB
FGGm/SPSSwvKbeNcFMRLu5neo7W9kwvfMbGjHmvUbzBUVpCVKD0OEEf1q/Ii0Qce
kx9CMoLvWq7ZwNHEbNnij7ecnvwNlE2MxNsOSJj+hwZGK+tM19kuYGSKw4b5mR8I
yThlgiSLIfpSBh1n2KX+TDdk9GR+57TYvlRu6nTPu98P05IlrrCP+KF0hYZYOaMv
Qs9Rmc09tc/eoQlN0kkaBWw9Rv/dvLVc0aUXABEBAAG0MURyb3Bib3ggQXV0b21h
dGljIFNpZ25pbmcgS2V5IDxsaW51eEBkcm9wYm94LmNvbT6JATYEEwECACAFAkt0
ibECGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRD8kYszUESRLi/zB/wMscEa
15rS+0mIpsORknD7kawKwyda+LHdtZc0hD/73QGFINR2P23UTol/R4nyAFEuYNsF
0C4IAD6y4pL49eZ72IktPrr4H27Q9eXhNZfJhD7BvQMBx75L0F5gSQwuC7GdYNlw
SlCD0AAhQbi70VBwzeIgITBkMQcJIhLvllYo/AKD7Gv9huy4RLaIoSeofp+2Q0zU
HNPl/7zymOqu+5Oxe1ltuJT/kd/8hU+N5WNxJTSaOK0sF1/wWFM6rWd6XQUP03Vy
NosAevX5tBo++iD1WY2/lFVUJkvAvge2WFk3c6tAwZT/tKxspFy4M/tNbDKeyvr6
85XKJw9ei6GcOGHD
=5rWG
-----END PGP PUBLIC KEY BLOCK-----
KEYDATA
fi
if [ -d "/etc/yum.repos.d" ]; then
cat > "$YUM_REPO_FILE" << REPOCONTENT
[Dropbox]
name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/\$releasever/
gpgkey=https://linux.dropbox.com/fedora/rpm-public-key.asc
REPOCONTENT
fi
fi
--
Configure bugmail:
https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.