mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Shell scripts are now POSIX compatible, thx @ Johannes Schauer
This commit is contained in:
parent
00824ae2d7
commit
75cc53139e
5 changed files with 16 additions and 16 deletions
|
@ -1,15 +1,15 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
if [ -d "../bin" ]; then
|
||||
cd "../"
|
||||
fi
|
||||
|
||||
type -P node &>/dev/null || {
|
||||
hash node > /dev/null 2>&1 || {
|
||||
echo "You need to install node!" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
type -P doc.md &>/dev/null || {
|
||||
hash doc.md > /dev/null 2>&1 || {
|
||||
echo "You need to install doc.md! npm install -g doc.md" >&2
|
||||
exit 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue