Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /tools/Linux/packaging/debian/xbmc-live.postinst [85d082] .. [84af45] Maximize Restore

Repo status: analyzing...

  Switch to unified view

a/tools/Linux/packaging/debian/xbmc-live.postinst b/tools/Linux/packaging/debian/xbmc-live.postinst
...
...
201
            grep -q $ACTION; then
201
            grep -q $ACTION; then
202
            polkit-auth --user $xbmcUser --grant $ACTION
202
            polkit-auth --user $xbmcUser --grant $ACTION
203
        fi
203
        fi
204
    done
204
    done
205
fi
205
fi
206
  if ! grep -i -q XBMCLive /etc/lsb-release ; then
207
      sed -i -e "/^DISTRIB_DESCRIPTION/s/\"\(.*\)\"/\"\1 - XBMCLive\"/" /etc/lsb-release
208
  fi
209
206
210
    # Add <xbmc=autostart,nodiskmount,setvolume loglevel=0> to grub's kernel entries
207
    # Add <xbmc=autostart,nodiskmount,setvolume loglevel=0> to grub's kernel entries
211
    if [ -f /boot/grub/menu.lst ]; then
208
    if [ -f /boot/grub/menu.lst ]; then
212
        if ! grep -q -i "xbmc=autostart" /boot/grub/menu.lst ; then
209
        if ! grep -q -i "xbmc=autostart" /boot/grub/menu.lst ; then
213
            # TODO Do not modify single-mode entry
210
            # TODO Do not modify single-mode entry