head: „sh/DownloadUpdates.sh“ kann nicht zum Lesen ...
Posted: 13.11.2014, 08:22
(For a wider audience, I'm using English, even though my system uses German locale as you can see)
Using wsusoffline942.zip on Linux, started from the top directory as "bash sh/DownloadUpdates.sh":
---
Download Service Packs? [y/n] n
Download .Net framework? [y/n] y
Download Microsoft Security Essentials files? [y/n] y
Download Microsoft Windows Defender definition files? [y/n] y
Please specify your proxy (default: none, http://[username:password@]<server>:<port>])
Create ISO-Image after download? [y/n] y
head: „sh/DownloadUpdates.sh“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
Your choice
System: w61-x64
Language: deu
Parameter: /makeiso /dotnet /excludesp /msse /wddefs
Proxy: none
Do you want to download now? [y/n] y
---
Obviously printheader() only works if the directory did not change since the command was started, or if an absolute path was used to start the script...
Using wsusoffline942.zip on Linux, started from the top directory as "bash sh/DownloadUpdates.sh":
---
Download Service Packs? [y/n] n
Download .Net framework? [y/n] y
Download Microsoft Security Essentials files? [y/n] y
Download Microsoft Windows Defender definition files? [y/n] y
Please specify your proxy (default: none, http://[username:password@]<server>:<port>])
Create ISO-Image after download? [y/n] y
head: „sh/DownloadUpdates.sh“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
Your choice
System: w61-x64
Language: deu
Parameter: /makeiso /dotnet /excludesp /msse /wddefs
Proxy: none
Do you want to download now? [y/n] y
---
Obviously printheader() only works if the directory did not change since the command was started, or if an absolute path was used to start the script...