Skip to content

[Synology DSM] Any command outputs "brew.sh: line 604: /etc/os-release: No such file or directory" #4670

Discussion options

You must be logged in to vote

Nice one!
I had to split it on several lines otherwise the heredoc doesn't work.

sudo install -m 755 /dev/stdin /etc/os-release <<EOF 
#!/bin/bash 
echo "PRETTY_NAME=\"\$(source /etc.defaults/VERSION && echo \${os_name} \${productversion}-\${buildnumber} Update \${smallfixnumber})\"" 
EOF

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@ogerardin
Comment options

Comment options

You must be logged in to vote
8 replies
@ogerardin
Comment options

@SMillerDev
Comment options

@osalbahr
Comment options

@osalbahr
Comment options

@ogerardin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@osalbahr
Comment options

@ogerardin
Comment options

@osalbahr
Comment options

Comment options

You must be logged in to vote
3 replies
@ogerardin
Comment options

Answer selected by ogerardin
@vsenn
Comment options

@ogerardin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants