do not chown guest files twice
parent
61b125cb8b
commit
9d2a87d912
|
|
@ -56,6 +56,8 @@ rm /usr/share/applications/pcmanfm-desktop-pref.desktop
|
||||||
rm /usr/share/applications/python2.7.desktop
|
rm /usr/share/applications/python2.7.desktop
|
||||||
rm /usr/share/applications/vim.desktop
|
rm /usr/share/applications/vim.desktop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
|
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
|
||||||
# First we fix symlinks, then uncompress files
|
# First we fix symlinks, then uncompress files
|
||||||
# $1 = search directory
|
# $1 = search directory
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ apt-get install --no-install-recommends --yes $NAME feh compton volumeicon-alsa
|
||||||
. ../../cleanup
|
. ../../cleanup
|
||||||
|
|
||||||
(cd rootcopy && cp --parents -afr * /)
|
(cd rootcopy && cp --parents -afr * /)
|
||||||
chown -R guest.users /home/guest
|
chown -R guest.users /hom/guest/.gtkrc-2.0
|
||||||
|
|
||||||
savechanges /$NAME-stock.sb
|
savechanges /$NAME-stock.sb
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,10 @@ apt-get install --no-install-recommends --yes leafpad qalculate-gtk pcmanfm wicd
|
||||||
. ../../cleanup
|
. ../../cleanup
|
||||||
|
|
||||||
(cd rootcopy && cp --parents -afr * /)
|
(cd rootcopy && cp --parents -afr * /)
|
||||||
chown -R guest.users /home/guest
|
|
||||||
|
|
||||||
savechanges /apps-stock.sb
|
savechanges /apps-stock.sb
|
||||||
cd /
|
cd /
|
||||||
unsquashfs /apps-stock.sb
|
unsquashfs /apps-stock.sb
|
||||||
rm -Rf /squashfs-root/home
|
|
||||||
rm -Rf /squashfs-root/root/.fluxbox
|
rm -Rf /squashfs-root/root/.fluxbox
|
||||||
rm -f /squashfs-root/root/.gtk-bookmarks
|
rm -f /squashfs-root/root/.gtk-bookmarks
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ rm -Rf /usr/share/icons/gnome/256x256
|
||||||
mv /usr/bin/chromium /usr/bin/chromium-launcher
|
mv /usr/bin/chromium /usr/bin/chromium-launcher
|
||||||
|
|
||||||
(cd rootcopy && cp --parents -afr * /)
|
(cd rootcopy && cp --parents -afr * /)
|
||||||
chown -R guest.users /home/guest
|
chown -R guest.users /home/guest/.config
|
||||||
|
|
||||||
|
rm -Rf /squashfs-root/root/.fluxbox
|
||||||
|
rm -f /squashfs-root/root/.gtk-bookmarks
|
||||||
|
|
||||||
savechanges /05-chromium.sb
|
savechanges /05-chromium.sb
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue