From e6adb58b818561a4b4db3511f1f306192d835552 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Thu, 19 May 2022 00:51:59 +0200 Subject: [PATCH] Fixed serious bug --- main.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main.sh b/main.sh index 5a4270c..5c09c00 100755 --- a/main.sh +++ b/main.sh @@ -11,18 +11,20 @@ prepare() { mv usr/lib64 usr/lib mv usr/man usr/share/ - # Remove Slackware-specific folder + # Remove Slackware-specific folders rm -rf install/ + rm -rf usr/doc/ cd .. } package() { + mkdir tree - cp -r archive/etc ${pkgdir}/ - cp -r archive/usr ${pkgdir}/ + cp -r archive/etc ${pkgdir}/etc + cp -r archive/usr ${pkgdir}/usr - dch --newversion $pkgver --distribution unstable --controlmaint "New relase." + dch --newversion $pkgver --distribution unstable --controlmaint "New release." }