Created
June 1, 2011 16:42
-
-
Save gaqzi/1002718 to your computer and use it in GitHub Desktop.
Installation patch for Citrix Receiver v11.100 when installing manually
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you have "too much" free space the installation stops because the resulting | |
SPACE_AVAILABLE is not just numbers, and thus can't be used by expr. | |
This patch removes all characters that is not numeric, so in my case the | |
free space changes from 210974368K to 210974368 and I can install the receiver. | |
Running on Ubuntu 11.04 with the tools installed for that version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- linuxx86/hinst.orig 2011-06-01 18:22:39.870590594 +0200 | |
+++ linuxx86/hinst 2011-06-01 18:28:47.750590646 +0200 | |
@@ -1052,7 +1052,7 @@ | |
SPACE_AVAILABLE=`df "$inst_fs_dir" | awk ' | |
NR==2{avail=$4} | |
NR==3{avail=$3} | |
- END {print avail}'` | |
+ END { sub(/[^0-9]+/, "", avail) ; print avail}'` | |
} | |
#!/bin/sh | |
############################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment