Dropbox

From campisano.org
Jump to navigation Jump to search

Dropbox without auto-update

  • as user, block the update
cd
rm -rf ~/.dropbox-dist
install -dm0 ~/.dropbox-dist
  • as root, install in a shared space

NOTE: choose the correct package for your S.O. architecture (32/64 bits)

sudo bash
# CHOOSE THE CORRECT VERSION
# FOR 32 BITS:
VERSION=dropbox-lnx.x86-59.4.93
# OR FOR 64 BITS:
VERSION=dropbox-lnx.x86_64-59.4.93
mkdir -p /home/shared/opt/software
chmod 0755 /home/shared /home/shared/opt /home/shared/opt/software
cd /home/shared/opt/software
wget -c https://clientupdates.dropboxstatic.com/dbx-releng/client/${VERSION}.tar.gz
tar -xzf ${VERSION}.tar.gz
rm ${VERSION}.tar.gz
mv .dropbox-dist ${VERSION}
chown -R root:root ${VERSION}
ln -f -s ${VERSION} dropbox