aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh6
-rwxr-xr-xlib/_ak_script2
2 files changed, 4 insertions, 4 deletions
diff --git a/install.sh b/install.sh
index 4cbf9e3..f3038a3 100755
--- a/install.sh
+++ b/install.sh
@@ -73,8 +73,9 @@ fi
touch $AK_LOGSFILE
-source $WHEREAMI/lib/_ak_log
-source $WHEREAMI/lib/_ak_script
+source ./lib/_ak_log
+bash update.sh
+source ./lib/_ak_script
_ak_check_and_create_dir $AK_CONFIGDIR
_ak_check_and_create_dir $AK_BINDIR
@@ -95,7 +96,6 @@ chmod 700 -R $AK_GPGHOME
_ak_let_there_be_file $AK_GENESIS
_ak_let_there_be_file $AK_ZBLOCKSFILE
_ak_let_there_be_file $AK_ZPAIRSFILE
-bash update.sh
packageManager=""
installCommand=""
diff --git a/lib/_ak_script b/lib/_ak_script
index 33d712b..f367765 100755
--- a/lib/_ak_script
+++ b/lib/_ak_script
@@ -17,7 +17,7 @@
### You should have received a copy of the GNU General Public License
### along with this program. If not, see <http://www.gnu.org/licenses/>.
###
-source $AK_LIBDIR/_ak_log
+source $AK_LIBDIR/_ak_log || source ./lib/_ak_log
# Wanna talk about it?
function _ak_new_line(){