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." }