We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cae2129 commit c539231Copy full SHA for c539231
1 file changed
linux/ubuntu/installer/install_pwsh.sh
@@ -1,5 +1,11 @@
1
#!/bin/bash
2
3
+# 判断pwsh是否已安装
4
+if command -v pwsh &> /dev/null
5
+then
6
+ echo "pwsh found, skip install"
7
+ exit 0
8
+fi
9
10
###################################
11
# Prerequisites
0 commit comments