summaryrefslogtreecommitdiff
path: root/libre/libtasn1/libtasn1.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-23 03:07:53 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-23 03:07:53 -0300
commitbd6b56f2ab81a4f1a23c98e67b083ee519f27279 (patch)
tree666a4e7525ff8cbc6ff4a4466f43fa4de92e2021 /libre/libtasn1/libtasn1.install
parent76a858e503d68ff86fb5df3f159019c10b18ce78 (diff)
downloadabslibre-bd6b56f2ab81a4f1a23c98e67b083ee519f27279.tar.gz
abslibre-bd6b56f2ab81a4f1a23c98e67b083ee519f27279.tar.bz2
abslibre-bd6b56f2ab81a4f1a23c98e67b083ee519f27279.zip
gnome-{desktop2,menus},libtasn1,usermin,xsp,webmin: adding packages to [libre] repo due rebranding
Diffstat (limited to 'libre/libtasn1/libtasn1.install')
-rw-r--r--libre/libtasn1/libtasn1.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/libtasn1/libtasn1.install b/libre/libtasn1/libtasn1.install
new file mode 100644
index 000000000..2d1ecc09f
--- /dev/null
+++ b/libre/libtasn1/libtasn1.install
@@ -0,0 +1,18 @@
+info_dir=/usr/share/info
+info_files=(libtasn1.info)
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}