summaryrefslogtreecommitdiff
path: root/office/kbgoffice
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-12-05 23:50:15 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commit10fca4e0ed064e50ae0985b3ac100a5cf75fdf33 (patch)
tree8b0ec8bfce56bcf9559d3a0a8c34365636d5bf0b /office/kbgoffice
parent112233285bd8be5af84804c2e5c6059bc288c510 (diff)
downloadslackbuilds-10fca4e0ed064e50ae0985b3ac100a5cf75fdf33.tar.gz
office/kbgoffice: Fixed SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/kbgoffice')
-rw-r--r--office/kbgoffice/kbgoffice.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild
index e77f6891fd..73278f5ad8 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 \