modify Debian package build to deliver one copy of background.png for
authorBdale Garbee <bdale@gag.com>
Wed, 1 Dec 2010 07:00:58 +0000 (00:00 -0700)
committerBdale Garbee <bdale@gag.com>
Wed, 1 Dec 2010 07:00:58 +0000 (00:00 -0700)
the themes and symlink it into place for gdm and slim

debian/altos.install
debian/dirs
debian/rules

index 8be48ca..c23e162 100644 (file)
@@ -3,10 +3,9 @@ debian/altos.list      etc/apt/sources.list.d
 debian/altusmetrum.xpm usr/share/pixmaps
 src/*.ihx              usr/share/altos
 src/*.map              usr/share/altos
-themes/background.png          usr/share/slim/themes/altusmetrum
+themes/background.png          usr/share/altos/themes
 themes/slim/panel.png          usr/share/slim/themes/altusmetrum
 themes/slim/slim.theme         usr/share/slim/themes/altusmetrum
-themes/background.png          usr/share/gdm/themes/altusmetrum
 themes/gdm/altusmetrum.xml     /usr/share/gdm/themes/altusmetrum
 themes/gdm/GdmGreeterTheme.desktop     /usr/share/gdm/themes/altusmetrum
 themes/gdm/screenshot.png      /usr/share/gdm/themes/altusmetrum
index 7b4dffb..1cffaa6 100644 (file)
@@ -1,7 +1,7 @@
 etc/apt/sources.list.d
 usr/bin
 usr/lib/altos
-usr/share/altos
+usr/share/altos/themes
 usr/share/applications
 usr/share/gdm/themes/altusmetrum
 usr/share/java
index 53a8a34..e0f1f72 100755 (executable)
@@ -53,6 +53,10 @@ binary-arch: install
        dh_installdocs
        dh_installexamples
        dh_install
+       ln -s /usr/share/altos/themes/background.png \
+               /usr/share/gdm/themes/altusmetrum/background.png
+       ln -s /usr/share/altos/themes/background.png \
+               /usr/share/slim/themes/altusmetrum/background.png
        dh_installmenu
 #      dh_installdebconf
 #      dh_installlogrotate