We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e883baa commit b0f86ccCopy full SHA for b0f86cc
bin/ncp-dist-upgrade.d/debian-11.sh
@@ -2,6 +2,14 @@
2
3
set -eu -o pipefail
4
5
+if grep -R 'raspberrypi.com' /etc/apt/sources.list* > /dev/null
6
+then
7
+ echo "WARN: Raspbian system detected!
8
+There have been errors reported when upgrading from Raspbian which are still being worked on.
9
+Please try this command again in some time."
10
+exit 0
11
+fi
12
+
13
new_cfg=/usr/local/etc/ncp-recommended.cfg
14
[[ -f "${new_cfg}" ]] || { echo "Already on the lastest recommended distribution. Abort." >&2; exit 1; }
15
0 commit comments