From 44f5611b023822b422c65a1e5d337360d6d4665c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 27 Feb 2026 10:23:42 +0100 Subject: kbuild: set execution for the installation scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As we do when the '-l/--local' flag is provided, set execution mode for the install.sh and the uninstall.sh scripts when bundling too. Signed-off-by: Miquel Sabaté Solà --- bin/kbuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/kbuild b/bin/kbuild index 6bd8dd5..8d19574 100755 --- a/bin/kbuild +++ b/bin/kbuild @@ -238,8 +238,11 @@ mv files.txt "$INSTALL_PATH/files.txt" # Copy install/uninstall scripts. cp "$HOME/.config/kbuild/$PROFILE/install.sh" "$INSTALL_PATH/install.sh" sed -i "s/\$name/$name/g" "$INSTALL_PATH/install.sh" +chmod +x "$INSTALL_PATH/install.sh" + cp "$HOME/.config/kbuild/$PROFILE/uninstall.sh" "$INSTALL_PATH/uninstall.sh" sed -i "s/\$name/$name/g" "$INSTALL_PATH/uninstall.sh" +chmod +x "$INSTALL_PATH/uninstall.sh" ## # Create tarball. -- cgit v1.2.3