Date: Sunday, March 10, 2013 @ 09:53:22 Author: bgyorgy Revision: 85956
upgpkg: cinnamon 1.7.2-2 Install autostart files for gnome-fallback-mount-helper. This is needed to automount and autorun plugged devices (and make it consistent with Linux Mint). Modified: cinnamon/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-03-10 08:47:19 UTC (rev 85955) +++ PKGBUILD 2013-03-10 08:53:22 UTC (rev 85956) @@ -6,7 +6,7 @@ pkgname=cinnamon pkgver=1.7.2 -pkgrel=1 +pkgrel=2 pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience" arch=('i686' 'x86_64') url="http://cinnamon.linuxmint.com/" @@ -64,6 +64,17 @@ cd ${srcdir}/linuxmint-Cinnamon* make DESTDIR="${pkgdir}" install + # Install autostart files for gnome-fallback-mount-helper + install -Dm644 /etc/xdg/autostart/gnome-fallback-mount-helper.desktop \ + "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon.desktop" + sed -i 's/^AutostartCondition=.*/AutostartCondition=GNOME3 if-session cinnamon/' \ + "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon.desktop" + + install -Dm644 /etc/xdg/autostart/gnome-fallback-mount-helper.desktop \ + "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon2d.desktop" + sed -i 's/^AutostartCondition=.*/AutostartCondition=GNOME3 if-session cinnamon2d/' \ + "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon2d.desktop" + # Python2 fix sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' \ "${pkgdir}/usr/bin/$pkgname-menu-editor" \