Browse Source

Updated installer to use proper source path

pull/553/head
Jared Ballou 10 years ago
parent
commit
b892904220
  1. 1
      _MasterScript/lgsm-core
  2. 2
      functions/install_lgsm.sh

1
_MasterScript/lgsm-core

@ -47,7 +47,6 @@ for dir in $(grep '^[a-zA-Z0-9]*dir=' $0 | cut -d'=' -f1); do
mkdir -p "${!dir}" mkdir -p "${!dir}"
fi fi
done done
exit
# Git last commit file (for tracking updates) # Git last commit file (for tracking updates)
lastcommit_file="${cachedir}/lastcommit" lastcommit_file="${cachedir}/lastcommit"

2
functions/install_lgsm.sh

@ -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"

Loading…
Cancel
Save