2010-12-17 14:11:09 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# FUTURE NOTE:
|
|
|
|
# this might get merged into remaster_generic_inner_chroot_script_after.sh
|
|
|
|
# once the Gaming Edition will be rebased on top of SpinBase, now it's based
|
|
|
|
# based on GNOME.
|
|
|
|
|
|
|
|
# Not shipping xbmc
|
|
|
|
rm /etc/skel/Desktop/xbmc.desktop || exit 1
|
|
|
|
|
|
|
|
# Copy games icons on the desktop
|
2010-12-17 19:38:46 +01:00
|
|
|
for desktop_file in $(grep -rl "Categories=.*Game" /usr/share/applications/*); do
|
2010-12-17 14:11:09 +01:00
|
|
|
desktop_name=$(basename "${desktop_file}")
|
|
|
|
cp "${desktop_file}" "/etc/skel/Desktop/${desktop_name}" || exit 1
|
|
|
|
chmod 755 "/etc/skel/Desktop/${desktop_name}" || exit 1
|
|
|
|
chown root "/etc/skel/Desktop/${desktop_name}" || exit 1
|
|
|
|
done
|
|
|
|
|
2010-12-21 10:02:39 +01:00
|
|
|
echo -5 | equo conf update
|
|
|
|
|
|
|
|
rm /var/lib/entropy/client/database/*/sabayonlinux.org -rf
|
|
|
|
equo rescue vacuum
|
|
|
|
# cleanup logs and cache
|
|
|
|
rm /var/lib/entropy/logs -rf
|
|
|
|
rm -rf /var/lib/entropy/*cache*
|
|
|
|
|
2010-12-17 14:11:09 +01:00
|
|
|
exit 0
|