From 3177bd57f868fbc08da2e821bd5b26f24c990d56 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 15 Nov 2013 14:56:17 +0000 Subject: Ensure that all doc files get deleted as well on removepkg --- webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'webcore-fonts-installer') diff --git a/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild b/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild index b248450e..de0fe4df 100755 --- a/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild +++ b/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild @@ -103,15 +103,18 @@ echo "++" # This command was used to create zero-byte placeholder files for the downloade # fonts, so that "removepkg webcore-fonts-installer" will actually remove the -# downloaded font files as well: -# mkdir -p tmp/usr/share/fonts/TTF/{} +# downloaded font files and documentation as well: +# mkdir -p tmp/usr/share/fonts/TTF # tar -ztvf webcore-fonts-3.0.tar.gz | grep -E '/vista/|/fonts/' | rev | cut -d/ -f1 | rev |xargs -I{} touch tmp/usr/share/fonts/TTF/{} +# mkdir -p tmp/usr/doc/webcore-fonts-installer +# tar -ztvf webcore-fonts-3.0.tar.gz | grep /doc/ | rev | cut -d/ -f1 | rev |xargs -I{} touch tmp/usr/doc/webcore-fonts-installer/{} # (cd tmp && tar -zcvf ../_webcore-fonts-installer.tar.gz .) # Explode the package framework: if [ -f $SRCDIR/_$PRGNAM.tar.gz ]; then cd $PKG explodepkg $SRCDIR/_$PRGNAM.tar.gz + mv usr/doc/$PRGNAM usr/doc/$PRGNAM-$VERSION cd - fi -- cgit v1.2.3