added root folder
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Plexdrive updater
|
||||
cd /tmp
|
||||
wget $(curl -s https://api.github.com/repos/dweidenfeld/plexdrive/releases/latest | grep 'browser_' | cut -d\" -f4 | grep plexdrive-linux-amd64) -q -O plexdrive
|
||||
chmod -c +x /tmp/plexdrive
|
||||
version=$(/tmp/plexdrive --version)
|
||||
echo "Installing Plexdrive v. ${version}"
|
||||
#install plexdrive
|
||||
mv -v /tmp/plexdrive /usr/local/bin/
|
||||
chown -c root:root /usr/local/bin/plexdrive
|
||||
Reference in New Issue
Block a user