From 10fca4e0ed064e50ae0985b3ac100a5cf75fdf33 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 5 Dec 2016 23:50:15 +0000 Subject: office/kbgoffice: Fixed SlackBuild. Signed-off-by: David Spencer --- office/kbgoffice/kbgoffice.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'office/kbgoffice/kbgoffice.SlackBuild') diff --git a/office/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild index e77f6891fd22d..73278f5ad8e2c 100644 --- a/office/kbgoffice/kbgoffice.SlackBuild +++ b/office/kbgoffice/kbgoffice.SlackBuild @@ -64,7 +64,8 @@ mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop # er, no. -rm -rf $PKG/root +rm -rf $PKG/${HOME:-root}/Desktop +rmdir -p --ignore-fail-on-non-empty $PKG/${HOME:-root} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ -- cgit v1.2.3