123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- #!/bin/sh
- echo
- echo "do you want to install Thunar as a base package"
- echo "hit \"t\" [enter] for yes, Enter only for no."
- read THUNAR
- if [ "$THUNAR" != "t" ];then
- if [ -f rootfs-complete/usr/share/applications/Thunar.desktop ];then
- rm -f rootfs-complete/usr/share/applications/Thunar.desktop
- echo "removing Thunar.desktop"
- else
- echo "Thunar.desktop not present"
- fi
- else
- echo "leaving Thunar.desktop"
- fi
- echo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- echo
- echo "Do you want the Classic gui or the Ziggy gui for PPM?"
- echo "hit \"z\" [enter] for Ziggy, Enter only for Classic."
- read ZIGGY
- if [ "$ZIGGY" = "z" ];then
- ZIGSET="UI=\"Ziggy\""
- CLASET="UI=\"Classic\""
- sed -i "s%$CLASET%$ZIGSET%" rootfs-complete/usr/local/petget/configure.sh
- sed -i "s%$CLASET%$ZIGSET%" rootfs-complete/usr/local/petget/pkg_chooser.sh
- echo "PPM gui set to \"Ziggy\""
- else echo "Leaving PPM gui set to \"Classic\""
- fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- echo "Fixing jwm"
- head -n6 rootfs-complete/root/.jwm/jwm_colors > /tmp/jwm_colors
- cp -af /tmp/jwm_colors rootfs-complete/root/.jwm/
- rm -f /tmp/jwm_colors
-
-
-
- cat > rootfs-complete/usr/sbin/alsaconf <<_EOF
- #!/bin/sh
- Xdialog --title "alsaconf" --msgbox "Alsaconf is removed pending a fix \
- \n\nPlease try the Multiple Sound Card Wizard then \
- \n configure retrovol (the volume icon, right click)" 0 0
- _EOF
- chmod 755 rootfs-complete/usr/sbin/alsaconf
- echo "Disabling alsaconf"
- if [ "$WOOF_HOSTARCH" = "$WOOF_TARGETARCH" ];then
- [ ! -f rootfs-complete/usr/lib/gconv/gconv-modules.cache ] && chroot rootfs-complete /usr/sbin/iconvconfig
- fi
- echo "Generating /usr/lib/gconv/gconv-modules.cache"
- echo "Removing old slacko and wary5 repos"
- DFILE=rootfs-complete/root/.packages/Packages-puppy-slacko-official
- rm $DFILE
- AFILE=rootfs-complete/root/.packages/Packages-puppy-wary5-official
- rm $AFILE
- echo "Removing udev from Packages-slackware-14.0-official"
- sed -i '/^udev/d' rootfs-complete/root/.packages/Packages-slackware-14.0-official
- echo
- echo "Slacko customisation complete"
|