From 48921c315000d528bad97d703186e637e9bd273f Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 15 Jan 2022 12:15:59 -0600 Subject: [PATCH] Change:Remove post remove bash --- build/debian/DEBIAN/postrm | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 build/debian/DEBIAN/postrm diff --git a/build/debian/DEBIAN/postrm b/build/debian/DEBIAN/postrm deleted file mode 100644 index e63fafb7..00000000 --- a/build/debian/DEBIAN/postrm +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -set -e -set -o pipefail - -FFMPEG_INSTALL_DIR="/usr/lib/audiobookshelf-ffmpeg/" -ABS_BINARY_PATH="/usr/share/audiobookshelf/audiobookshelf" - -remove_ffmpeg() { - if [[ -d "$FFMPEG_INSTALL_DIR" ]] - then - echo "Forcefully removing audiobookshelf-ffmpeg: $FFMPEG_INSTALL_DIR" - rm -r "$FFMPEG_INSTALL_DIR" - fi -} - -remove_binary() { - if [[ -f "$ABS_BINARY_PATH" ]] - then - echo "Removing audiobookshelf binary: $ABS_BINARY_PATH" - rm "$ABS_BINARY_PATH" - fi -} - -echo ">> Cleaning up" -remove_ffmpeg -remove_binary \ No newline at end of file