dotfiles/apps/nextcloud.sh
2020-11-09 00:26:14 +08:00

18 lines
334 B
Bash

#!/bin/sh
DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
# install nextcloud
case "$PM" in
apt)
sudo add-apt-repository -y ppa:nextcloud-devs/client
sudo apt-get update
sudo apt install -y nextcloud-client
;;
pacman)
sudo pacman -S --needed nextcloud-client
;;
esac