Compare commits
2 Commits
fd984c4a16
...
v3.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
| c2ca5f659c | |||
| 3248327e56 |
11
history.txt
11
history.txt
@@ -7,6 +7,17 @@ Current version from Geoffray Levasseur <fatalerrors@geoffray-levasseur.org>
|
|||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
Version history:
|
Version history:
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# 24/02/2022 v3.3.1
|
||||||
|
Fixed version detection
|
||||||
|
Added "busy" function
|
||||||
|
Fixed use of library functions before it's loaded
|
||||||
|
|
||||||
|
# 28/11/2022 v3.3.0
|
||||||
|
Initial version update support
|
||||||
|
Changed versioning code
|
||||||
|
Added installation path detection
|
||||||
|
|
||||||
# 28/11/2022 v3.2.3
|
# 28/11/2022 v3.2.3
|
||||||
Made proper readme file, to improve
|
Made proper readme file, to improve
|
||||||
|
|
||||||
|
|||||||
@@ -82,15 +82,15 @@ pathappend ()
|
|||||||
# Store script's path (realpath -s resolve symlinks if profile.sh is a symlink)
|
# Store script's path (realpath -s resolve symlinks if profile.sh is a symlink)
|
||||||
export MYPATH=$(dirname $(realpath -s $0))
|
export MYPATH=$(dirname $(realpath -s $0))
|
||||||
if [[ ! -e $MYPATH/profile.sh ]]; then
|
if [[ ! -e $MYPATH/profile.sh ]]; then
|
||||||
disp W "Path detection failed, using pwd..."
|
echo "[ Warning ] Path detection failed, using pwd..."
|
||||||
MYPATH=$(pwd)
|
MYPATH=$(pwd)
|
||||||
if [[ ! -e $MYPATH/profile.sh ]]; then
|
if [[ ! -e $MYPATH/profile.sh ]]; then
|
||||||
disp E "Impossible to determine installation path, pretty much nothing will work."
|
echo "[ Error ] Impossible to determine installation path, pretty much nothing will work."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -s $MYPATH/version ]]; then
|
if [[ ! -s $MYPATH/version ]]; then
|
||||||
disp W "Impossible to determine running version of profile, your installation might be broken."
|
echo "[ Warning ] Impossible to determine running version of profile, your installation might be broken."
|
||||||
fi
|
fi
|
||||||
export PROFVERSION=$(cat $MYPATH/version)
|
export PROFVERSION=$(cat $MYPATH/version)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user