Fix some autopackage bugs.
[doldaconnect.git] / autopackage / guishell.apspec.in
index e5c235c..3479b14 100644 (file)
@@ -27,6 +27,7 @@ echo bin share | import
 require @gtk.org/gtk 2.10
 require @dolda2000.com/fredrik/doldaconnect/dcuilib 1.1
 requireAtLeast "@dolda2000.com/fredrik/doldaconnect/dolcon:@VERSION@"
+requireAtLeast "@dolda2000.com/fredrik/doldaconnect/doldacond:@VERSION@"
 
 [Install]
 installExe bin/dolconf
@@ -34,6 +35,8 @@ installExe bin/dolcon-launch
 installExe bin/doldacond-shell
 installLocale share/locale
 installIcon share/icons/hicolor
+createBootstrapScript "$PREFIX/bin/dolcon-launch" "$PREFIX/bin/dolcon-launch.apkg"
+sed -i 's/\(Exec *= *dolcon-launch\)/\1.apkg/' share/applications/dolcon.desktop
 installMenuItem "Network/File sharing" share/applications/dolcon.desktop
 
 [Uninstall]