get-scripts rev 76

Update dropbox
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 09 15:43:15 2018 +0100 (2018-02-09)
parents a5139b147553
children d4c157b15c60
files dropbox
line diff
     1.1 --- a/dropbox	Fri Feb 09 13:40:10 2018 +0100
     1.2 +++ b/dropbox	Fri Feb 09 15:43:15 2018 +0100
     1.3 @@ -34,6 +34,13 @@
     1.4  Categories=Network;FileTransfer;
     1.5  EOT
     1.6  
     1.7 +# Custom Dropboxd
     1.8 +cat > $USR/lib/dropbox/dropboxd << "EOT"
     1.9 +#!/bin/sh
    1.10 +PAR=/usr/lib/dropbox/$(cd $USR/lib/dropbox; ls dropbox-lnx*)
    1.11 +LD_LIBRARY_PATH=\$PAR:\$LD_LIBRARY_PATH exec \$PAR/dropbox $@
    1.12 +EOT
    1.13 +
    1.14  # Symlink to have Dropbox in PATH and fake nautilus
    1.15  rm -f $USR/bin/dropboxd $USR/bin/nautilus
    1.16  ln -s ../lib/dropbox/dropboxd $USR/bin