We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4def693 commit 21b477fCopy full SHA for 21b477f
1 file changed
src/features/pulumi/install.sh
@@ -26,10 +26,13 @@ else
26
fi
27
28
# Move binaries to /usr/local/bin so they are in the PATH for all users
29
-if [ -d "${PULUMI_HOME}/.pulumi/bin" ]; then
+# The installer might put them in bin/ or .pulumi/bin/ depending on the version/environment
30
+if [ -d "${PULUMI_HOME}/bin" ]; then
31
+ mv "${PULUMI_HOME}/bin/"* /usr/local/bin/
32
+elif [ -d "${PULUMI_HOME}/.pulumi/bin" ]; then
33
mv "${PULUMI_HOME}/.pulumi/bin/"* /usr/local/bin/
- rm -rf "${PULUMI_HOME}"
34
35
+rm -rf "${PULUMI_HOME}"
36
37
# Clean up apt lists if on Debian
38
if [ -f /etc/debian_version ]; then
0 commit comments