aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-17 20:02:18 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-17 20:02:18 +0200
commit05587796381dd2a3f341dcf92af34bf80b02e6e1 (patch)
tree1c924db792c83c4c70f798bd688c49ff2505e00a /install.sh
parent705abeff3036b3284541125281ab7c065095c664 (diff)
Remove build directory in install script
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index ab921fa..2a1abf8 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,8 @@ cd "$script_dir"
echo "Warning: this install.sh script is deprecated. Use meson directly instead if possible"
-test -d build || meson setup build
+rm -rf build
+meson setup build
meson configure --prefix=/usr --buildtype=release -Dsystemd=true -Dstrip=true build
ninja -C build install