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 83aecf3 commit 6c4406aCopy full SHA for 6c4406a
ct/inventree.sh
@@ -29,15 +29,14 @@ function update_script() {
29
exit
30
fi
31
32
- # Check for supported OS
33
- if ! grep -qE "^ID=(ubuntu|debian)$" /etc/os-release; then
34
- msg_error "Unsupported OS. InvenTree requires Ubuntu (20.04/22.04/24.04) or Debian (10/11/12)."
+ if ! grep -qE "^ID=(ubuntu)$" /etc/os-release; then
+ msg_error "Unsupported OS. InvenTree requires Ubuntu (20.04/22.04/24.04)."
35
36
37
38
msg_info "Updating $APP"
39
- $STD apt-get update
40
- $STD apt-get install --only-upgrade inventree -y
+ $STD apt update
+ $STD apt install --only-upgrade inventree -y
41
msg_ok "Updated $APP"
42
43
}
0 commit comments