Skip to content

Commit 1961277

Browse files
committed
fix: change appwrite executable name to temp
1 parent 7df39b5 commit 1961277

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/cli/install.sh.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ bash -c "docker run -i --rm --volume {{ spec.title | lower }}-cli:/usr/local/cod
151151
fi
152152
printSuccess
153153

154-
printf "${GREEN}📝 Copying ${{ spec.title | upper }}_TEMP_NAME to ${{ spec.title | upper }}_EXECUTABLE_FILEPATH ... ${NC}\n"
154+
printf "${GREEN}📝 Copying temporary file to ${{ spec.title | upper }}_EXECUTABLE_FILEPATH ... ${NC}\n"
155155
runAsRoot cp ${{ spec.title | upper }}_TEMP_NAME ${{ spec.title | upper }}_EXECUTABLE_FILEPATH
156156
if [ $? -ne 0 ]; then
157-
printf "${RED}❌ Failed to copy ${{ spec.title | upper }}_TEMP_NAME to ${{ spec.title | upper }}_EXECUTABLE_FILEPATH ... ${NC}\n"
157+
printf "${RED}❌ Failed to copy temporary file to ${{ spec.title | upper }}_EXECUTABLE_FILEPATH ... ${NC}\n"
158158
exit 1
159159
fi
160160
printSuccess
@@ -164,7 +164,7 @@ cleanup() {
164164
echo "🧹 Cleaning up mess ... "
165165
rm ${{ spec.title | upper }}_TEMP_NAME
166166
if [ $? -ne 0 ]; then
167-
printf "${RED}❌ Failed to remove ${{ spec.title | upper }}_TEMP_NAME ... ${NC}\n"
167+
printf "${RED}❌ Failed to remove temporary file ... ${NC}\n"
168168
exit 1
169169
fi
170170
printSuccess

0 commit comments

Comments
 (0)