dotfiles/apps/nextcloud.sh

18 lines
334 B
Bash
Executable File

#!/bin/sh
DIR=$(readlink -f "$(dirname "$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