1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-06-05 01:09:17 +02:00

- update script quick_quicklisp to fetch newer version of some libraries.

This commit is contained in:
cage
2023-11-11 20:25:51 +01:00
parent 5d135f2116
commit 7d22b73d1a

View File

@@ -39,7 +39,7 @@ CROATOAN_GIT_URL=https://github.com/McParen/croatoan.git
CROATOAN_DIR="$QUICKLISP_INSTALL_DIR"/local-projects/croatoan/
CROATOAN_COMMIT=efa628759d12d992ae3976e6b72c61e075ce8f71
CROATOAN_COMMIT=ff5841ab29b781fb7fec4d38296190f327803893
CL_COLORS2_GIT_URL=https://codeberg.org/cage/cl-colors2.git
@@ -49,6 +49,11 @@ NODGUI_GIT_URL=https://codeberg.org/cage/nodgui.git
NODGUI_DIR="$QUICKLISP_INSTALL_DIR"/local-projects/nodgui/
TOOTER_GIT_URL="https://github.com/Shinmera/tooter.git"
TOOTER_DIR="$QUICKLISP_INSTALL_DIR"/local-projects/tooter/
echo_bold () {
printf "\033[1m%s\033[0m\n" "$1"
}
@@ -77,6 +82,10 @@ check_nodgui () {
check_dir "$NODGUI_DIR"
}
check_tooter () {
check_dir "$TOOTER_DIR"
}
check_quicklisp_signature () {
chk1_prog='BEGIN {res=0} /Good signature.*release@quicklisp.org/ {res++; print res}'
chk2_prog="BEGIN {res=0} /${QUICKLISP_SIGNATURE}/ {res++; print res}"
@@ -174,6 +183,15 @@ install_nodgui () {
fi
}
install_tooter () {
installedp=$(check_tooter);
if [ "$installedp" -eq 0 ]; then
cd "$TOOTER_DIR" && @GIT@ pull
else
install_from_git $TOOTER_GIT_URL
fi
}
quicklisp_installed_p=$(check_quicklisp)
if [ "$quicklisp_installed_p" -eq 0 ]; then
@@ -197,4 +215,7 @@ install_cl_colors2
echo_bold "installing nodgui from git repository..."
install_nodgui
echo_bold "installing tooter from git repository..."
install_tooter
echo_bold "Finished."