We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13c7481 commit 5c44469Copy full SHA for 5c44469
1 file changed
lib/update.sh
@@ -115,8 +115,12 @@ fi
115
116
ffupdateLatest(){
117
118
-if ! type "regctl" >/dev/null 2>&1; then
119
- echo ""
+
+echo ""
120
121
+echo "Warning! Updating latest version, this is not recommended"
122
123
+if ! command -v regctl &> /dev/null; then
124
echo "regctl not found! Install it from here https://github.com/regclient/regclient/releases"
125
echo ""
126
exit 1
0 commit comments