mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-16 20:52:33 +00:00
* Experi-Sci: Techweb nodes may now require you to perform "scientific" experiments * Update all_nodes.dm Co-authored-by: Qustinnus <Floydje123@hotmail.com> Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
16 lines
342 B
Bash
Executable File
16 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
if [ -n "$1" ]
|
|
then
|
|
dme=$1
|
|
else
|
|
echo "ERROR: Specify a DME to check"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ $(awk '/BEGIN_FILE_DIR/{flag=1;next}/END_FILE_DIR/{flag=0}flag' $dme | wc -l) -ne 1 ]]
|
|
then
|
|
echo "ERROR: File DIR was ticked, please untick it, see: https://tgstation13.org/phpBB/viewtopic.php?f=5&t=321 for more"
|
|
exit 1
|
|
fi
|
|
|