diff options
author | Eric Hameleers <alien@slackware.com> | 2013-11-15 14:56:17 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-11-15 14:56:17 +0000 |
commit | 3177bd57f868fbc08da2e821bd5b26f24c990d56 (patch) | |
tree | a205cef1deafdda12e5dbc4df974197abf1297c7 /webcore-fonts-installer/build | |
parent | 956ec9fd347ab1900a642d86e46c22ff414a45c5 (diff) | |
download | asb-3177bd57f868fbc08da2e821bd5b26f24c990d56.tar.gz asb-3177bd57f868fbc08da2e821bd5b26f24c990d56.tar.xz |
Ensure that all doc files get deleted as well on removepkg
Diffstat (limited to 'webcore-fonts-installer/build')
-rwxr-xr-x | webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
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 |