mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
fix: Add wrapper around script (#388)
* Add wrapper * Update start.sh * Update startdev.sh
This commit is contained in:
parent
f64fa2bd12
commit
04537216d4
3
start.sh
3
start.sh
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Prevent execution if this script was only partially downloaded
|
||||||
|
{
|
||||||
rc='\033[0m'
|
rc='\033[0m'
|
||||||
red='\033[0;31m'
|
red='\033[0;31m'
|
||||||
|
|
||||||
|
@ -46,3 +48,4 @@ check $? "Executing linutil"
|
||||||
|
|
||||||
rm -f "$temp_file"
|
rm -f "$temp_file"
|
||||||
check $? "Deleting the temporary file"
|
check $? "Deleting the temporary file"
|
||||||
|
} # End of wrapping
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Prevent execution if this script was only partially downloaded
|
||||||
|
{
|
||||||
RC='\033[0m'
|
RC='\033[0m'
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
|
|
||||||
|
@ -73,3 +75,4 @@ check $? "Executing linutil"
|
||||||
|
|
||||||
rm -f $TMPFILE
|
rm -f $TMPFILE
|
||||||
check $? "Deleting the temporary file"
|
check $? "Deleting the temporary file"
|
||||||
|
} # End of wrapping
|
||||||
|
|
Loading…
Reference in New Issue
Block a user