Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ncp-check-updates « bin - github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0a483b760e94955db477ce27686fa67076b35cef (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
  cat > /usr/local/bin/ncp-check-updates <<'EOF'
VERFILE=/var/run/.ncp-latest-version
if ncp-test-updates; then
  echo -e "\nNextCloudPi \e[1m$( cat $VERFILE )\e[0m available!!"
  echo -e "update through 'nextcloudpi-config' or type 'sudo ncp-update'" 
else
  echo -e "\nNextCloudPi \e[1m$( cat /usr/local/etc/ncp-version )\e[0m is up to date"
fi