|
@ -34,7 +34,7 @@ if [ -n "${result}" ]; then |
|
|
mkdir -p $(dirname "${scriptpath}") |
|
|
mkdir -p $(dirname "${scriptpath}") |
|
|
fi |
|
|
fi |
|
|
# Copy script and set executable |
|
|
# Copy script and set executable |
|
|
cp "${BASH_SOURCE[0]}" "${scriptpath}" |
|
|
cp "${0}" "${scriptpath}" |
|
|
chmod 0755 "${scriptpath}" |
|
|
chmod 0755 "${scriptpath}" |
|
|
if [ $? ]; then |
|
|
if [ $? ]; then |
|
|
fn_colortext green "Done" |
|
|
fn_colortext green "Done" |
|
|