From 0e3f85c0e3f68ec8fc24cead41975384d7e7f634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B3=D0=BE=D1=80?= <148970641+Egor00f@users.noreply.github.com> Date: Sat, 9 Nov 2024 17:16:13 +0000 Subject: [PATCH] add installation path selection --- install.sh | 10 ++++++++++ installator.iss | 2 +- package/DEBIAN/control | 2 +- package/DEBIAN/dirs | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 package/DEBIAN/dirs diff --git a/install.sh b/install.sh index ac80ce2..d5c19ba 100755 --- a/install.sh +++ b/install.sh @@ -30,8 +30,18 @@ check_utils(){ pwd + TOOLCHAIN_DIR="/home/autobuild/tools" +MESSAGE="Toolchain install path(default is $TOOLCHAIN_DIR): " + +echo -n $MESSAGE +read INPUT + +if [[ ! -z "$INPUT" ]]; then + TOOLCHAIN_DIR=$INPUT +fi + print_msg "Checking utilities..." diff --git a/installator.iss b/installator.iss index 21d2d5d..8149f6a 100644 --- a/installator.iss +++ b/installator.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "KolibriOS gcc toolchain" -#define MyAppVersion "0.1.3" +#define MyAppVersion "0.1.4" #define MyAppPublisher "Egor00f" #define MyAppURL "https://github.com/Egor00f/kolibrios-gcc-toolchain" diff --git a/package/DEBIAN/control b/package/DEBIAN/control index 15f06c1..fd324b6 100755 --- a/package/DEBIAN/control +++ b/package/DEBIAN/control @@ -1,5 +1,5 @@ Package: kos32-gcc -Version: 0.1.3 +Version: 0.1.4 Architecture: all Section: devel Depends: libc6-i386:amd64, libmpc3:amd64 diff --git a/package/DEBIAN/dirs b/package/DEBIAN/dirs new file mode 100644 index 0000000..a3d8927 --- /dev/null +++ b/package/DEBIAN/dirs @@ -0,0 +1 @@ +/home/autobuild/tools/ \ No newline at end of file