From ed1837534a0a9a1ab8f8291cff73be031a5d493b Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 23 May 2026 14:50:05 +0530 Subject: Dir rename --- linux/deb/fs-hello-kamal/build.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 linux/deb/fs-hello-kamal/build.sh (limited to 'linux/deb/fs-hello-kamal/build.sh') diff --git a/linux/deb/fs-hello-kamal/build.sh b/linux/deb/fs-hello-kamal/build.sh deleted file mode 100755 index bc77f92..0000000 --- a/linux/deb/fs-hello-kamal/build.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# Define a function that sends messages to stderr. -errcho() { - echo "$@" 1>&2; -} - -# Check if fakeroot command is available -if ! command -v fakeroot > /dev/null 2>&1; then - errcho "[ERROR] fakeroot command not found. Install the fakeroot package."; - exit 1 -fi - -# Check if dpkg-deb command is available -if ! command -v dpkg-deb > /dev/null 2>&1; then - errcho "[ERROR] dpkg-deb command not found. dpkg package contains it. Are you not running this script on a Debian based system?"; - exit 1 -fi - -# Get the directory of this script -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Remove the deb files found inside DIR. Prompt the user before deleting. -if ls $DIR/*.deb 1> /dev/null 2>&1; then - rm -i $DIR/*.deb -fi - -# Build the deb package -fakeroot dpkg-deb --build $DIR/package $DIR -- cgit v1.2.3