Skip to content

Commit 9e253c4

Browse files
committed
Minor change
1 parent 7604827 commit 9e253c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/copy-installer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
if [ -e "/home/robot/installer/installer.sh" ]; then
44
echo $CREDENTIAL
5-
ssh $CREDENTIAL 'bash -s' < mkdir installer
6-
scp "/home/robot/installer/installer.sh" "$CREDENTIAL:/home/robot"
7-
ssh $CREDENTIAL 'bash -s' < chmod +x installer.sh
5+
ssh $CREDENTIAL 'bash -s' < sudo mkdir /home/robot/installer
6+
scp "/home/robot/installer/installer.sh" "$CREDENTIAL:/home/robot/installer"
7+
ssh $CREDENTIAL 'bash -s' < sudo chmod +x /home/robot/installer.sh
88
exit
99
else
1010
echo "Sorry, the installer didn´t detect the installer"

0 commit comments

Comments
 (0)