From 59fc17cfe3bc0fd6b99a0b83ec868343281d58b5 Mon Sep 17 00:00:00 2001 From: "alan (NyxTrail)" Date: Fri, 8 Mar 2024 19:22:02 +0000 Subject: [PATCH] Patch to create directory before install Create usr/bin directory before installation --- .../patches/001-create-directories-in-install-path.patch | 8 ++++++++ debian/patches/series | 1 + 2 files changed, 9 insertions(+) create mode 100644 debian/patches/001-create-directories-in-install-path.patch diff --git a/debian/patches/001-create-directories-in-install-path.patch b/debian/patches/001-create-directories-in-install-path.patch new file mode 100644 index 0000000..d7a9a5d --- /dev/null +++ b/debian/patches/001-create-directories-in-install-path.patch @@ -0,0 +1,8 @@ +--- a/Makefile ++++ b/Makefile +@@ -71,4 +71,5 @@ + + install: + make all ++ mkdir -p $(PREFIX)/bin + cp ./build/hyprpaper $(PREFIX)/bin -f diff --git a/debian/patches/series b/debian/patches/series index 4a97dfa..f507985 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ # You must remove unused comment lines for the released package. +001-create-directories-in-install-path.patch