-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathc8_inst_dropbox.sh
More file actions
14 lines (14 loc) · 890 Bytes
/
c8_inst_dropbox.sh
File metadata and controls
14 lines (14 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
dnf -y install libglapi libXext libXdamage libxshmfence libXxf86vm
curl -Lo dropbox-linux-x86_64.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64
sudo mkdir -p /opt/dropbox
sudo tar xzfv dropbox-linux-x86_64.tar.gz --strip 1 -C /opt/dropbox
/opt/dropbox/dropboxd
sudo curl -Lo /usr/bin/dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py
chmod +x /usr/bin/dropbox.py
sudo curl -o /etc/init.d/dropbox https://gist.githubusercontent.com/thisismitch/6293d3f7f5fa37ca6eab/raw/2b326bf77368cbe5d01af21c623cd4dd75528c3d/dropbox
sudo curl -o /etc/systemd/system/dropbox.service https://gist.githubusercontent.com/thisismitch/6293d3f7f5fa37ca6eab/raw/99947e2ef986492fecbe1b7bfbaa303fefc42a62/dropbox.service
sudo chmod +x /etc/systemd/system/dropbox.service /etc/init.d/dropbox
sudo systemctl daemon-reload
sudo systemctl start dropbox
sudo systemctl enable dropbox