free software resistance
the cost of computing freedom is eternal vigilance
### mkfreemos01.fig
*original date:* oct 2018
*originally posted:* oct 2024
mkfreemos01.fig:
```
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/
proginf = "mkfreemos 0.1, sep 2018 mn" ; print
isov = split proginf "," mid 1 1 ; split isov " " mid 2 1
# ===========================================================
# you will need python 2, and fig 2.x or 4.x to run mkfreemos.
# you can download fig 4.6 here:
# https://notabug.org/figosdev/figos/raw/master/fig46.py
# ===========================================================
# this is a python-based language ; it does not require indentation
# only inline python code needs indenting
# mcorepup-0.3 means "create tcz packages for current version of this remaster tool, and for previous versions, back to 0.3"
# the default is currently not to create mcorepup packages.
# to avoid ambiguity: "tcz packages" are packages for tinycore or corepup.
# "mcorepup packages" are packages containing the mcorepup tool.
# non-standard extras
profiles = "wanderer wanderer-minimal wanderer-core figosdev figosdev-more libre mcorepup-3"
# standard corepup 6: (unused since mcorepup 0.1, please report results if you try it)
profiles = "wanderer"
# standard corepup 7:
profiles = "wanderer wanderer-minimal"
# standard corepup 8:
profiles = "wanderer wanderer-minimal wanderer-core"
# the default profiles line is closer to the standard:
# this is the one that counts when you run mcorepup
profiles = "freemos"
coreplusurl = "http://mirror.fsf.org/trisquel-images/trisquel_8.0_i686.iso"
# sha256 ff7fd63be01093f5da234534db107b22f84a00e7ac63732cbb73340e17e2c3da
# to add functionality for a contributor, use this conditional around their code:
# change = changeforwhom profiles "contributorname"
# iftrue change
# # put code for that contributor here
# # it will only run if mcorepup is run with their name included in profiles
# fig
# you want fastcomp to be 0
# (removing the 1 works as well as putting a 0 after.)
# set to 1 when trying the script out, will do less compression of sfs
fastcomp 1
isoname "freemediaos" plus isov
function changeforwhom (profiles whom)
now = profiles ; lcase ; split now " " ; instr now whom ; return now
fig
function changeforoption (profiles whom)
p = profiles ; lcase ; split p " "
find = whom plus "-" ; lcase
forin t p
now = instr t whom
ifequal now 1
profilelen = find ; len
r = t ; len ; minus profilelen
opt = t ; right r ; return opt
fig
next
now return ""
fig
function tczpreps (pkg addpath)
now = "mkdir -p /mnt/mkrefpup/tcz" ; shell
now = "mkdir -p /mnt/mkrefpup/tcz/" plus pkg plus addpath ; shell
fig
function (tczbuild pkg)
now = "mksquashfs /mnt/mkrefpup/tcz/" plus pkg plus " " plus "/mnt/mkrefpup/newiso/cde/optional/" plus pkg plus ".tcz -noappend" ; shell
now = "md5sum /mnt/mkrefpup/newiso/cde/optional/" plus pkg plus ".tcz > /mnt/mkrefpup/newiso/cde/optional/" plus pkg plus ".tcz.md5.txt" ; shell
fig
function addquoted mainv toquote
q 34 chr
now mainv plus " " plus q plus toquote plus q return now
fig
function urf (p)
# filename from url
# ... return whats to the right of the rightmost "/" (or entire string if "/" not found)
r p reverse instr r "/" minus 1
ifmore r 0
now p right r return now
else
now p return now
fig
fig
function download (iso)
now = iso
now = urf iso
u = urf iso
ck = "ls" addquoted ck u plus " | wc -l" arrshell join ck " " int
ifequal ck 0
now "wget" addquoted now iso plus " 2> /dev/null" shell
ck = "ls" addquoted ck u plus " | wc -l" arrshell join ck " " int print
else
now u colortext 15 plus " already exists, not downloading" prints colortext 7 "" print
fig
fig
function gettcz (major pkg)
base = "http://tinycorelinux.net/"
pkgurl = base plus major plus "/x86/tcz/" plus pkg plus ".tcz" ; download pkgurl
txturl = base plus major plus "/x86/tcz/" plus pkg plus ".tcz.md5.txt" ; download txturl
depurl = base plus major plus "/x86/tcz/" plus pkg plus ".tcz.dep" ; download depurl
fig
function copytcz (major pkg topath)
base = "cp '/mnt/mkrefpup/"
pkgurl = base plus pkg plus ".tcz' " plus topath ; shell
txturl = base plus pkg plus ".tcz.md5.txt' " plus topath ; shell
depurl = base plus pkg plus ".tcz.dep' " plus topath ; shell
fig
function rmtcz (major pkg)
base = "rm "
pkgurl = base plus pkg plus ".tcz" ; shell
txturl = base plus pkg plus ".tcz.md5.txt 2> /dev/null" ; shell
depurl = base plus pkg plus ".tcz.dep 2> /dev/null" ; shell
fig
function addpackages (pkgtype major pkgs)
addpkg = split pkgs " "
forin packages addpkg
now = gettcz major packages
next
fig
function copypackages (pkgtype major pkgs topath)
addpkg = split pkgs " "
forin packages addpkg
now = copytcz major packages topath
next
fig
function rmpackages (pkgtype major pkgs)
rmpkg = split pkgs " "
forin packages rmpkg
now = rmtcz major packages
next
fig
pwd "pwd" arrshell join pwd ""
# setup and some old stuff from mkfigos that wont go in the build by default
urfcoreplusurl = urf coreplusurl
now download coreplusurl
fpath pwd plus "/" plus urfcoreplusurl
now "mkdir /mnt/mkrefpup" shell
now "mkdir /mnt/mkrefpup/newiso" shell
now "mkdir /mnt/mkrefpup/fs" shell
now "mkdir /mnt/mkrefpup/coreplus" shell
now "mkdir /mnt/mkrefpup/coreplusfs" shell
nowplus "cd /mnt/mkrefpup ; if [ -e fig46.py ] ; then echo ; else wget -O- 'https://notabug.org/figosdev/figos/raw/master/el3ZRly.png' > logo.16 ; "
now nowplus plus "wget 'https://notabug.org/figosdev/figos/raw/master/fig46.py' ; wget 'https://notabug.org/figosdev/figos/raw/master/alex23.py' ; chmod +x fig*.py alex*.py ; fi" shell
q 34 chr
now "mount " plus q plus pwd plus "/" plus urfcoreplusurl plus q plus " /mnt/mkrefpup/coreplus -o loop" shell
now "mkdir /mnt/mkrefpup/newiso/dists" shell
now "mkdir /mnt/mkrefpup/newiso/.disk" shell
now "mkdir /mnt/mkrefpup/newiso/preseed" shell
now "mkdir /mnt/mkrefpup/newiso/casper" shell
now "mkdir /mnt/mkrefpup/newiso/isolinux" shell
now "cp -r /mnt/mkrefpup/coreplus/dists/* /mnt/mkrefpup/newiso/dists/" shell
now "cp -r /mnt/mkrefpup/coreplus/.disk/* /mnt/mkrefpup/newiso/.disk/" shell
now "cp -r /mnt/mkrefpup/coreplus/preseed/* /mnt/mkrefpup/newiso/preseed/" shell
now "cp -r /mnt/mkrefpup/coreplus/casper/initrd* /mnt/mkrefpup/coreplus/casper/vmlinuz* /mnt/mkrefpup/newiso/casper/" shell
now "cp /mnt/mkrefpup/coreplus/isolinux/* /mnt/mkrefpup/newiso/isolinux" shell
# most of the changes are made from here, most of the changes are optional and controlled by the profiles line
change = changeforwhom profiles "wanderer-core"
iftrue change
now "rm /mnt/mkrefpup/newiso/isolinux/f1 /mnt/mkrefpup/newiso/isolinux/menu.c32" ; shell
rep = "[ " ; prints ; "removed f1 and menu.c32 for core (corepup-8 standard)" colortext 10 prints colortext 7 " ]" print
fig
#now = "mkdir -p /mnt/mkrefpup/newiso/cde/optional 2> /dev/null" ; shell
#now = "/mnt/mkrefpup/newiso/cde/optional" ; chdir
change = changeforwhom profiles "wanderer"
iftrue change
now = "/mnt/mkrefpup" ; chdir
now = addpackages "tcz" "9.x" "glib1 gtk1 leafpad emelfm dillo"
now = copypackages "tcz" "9.x" "glib1 gtk1 leafpad emelfm dillo" "/mnt/mkrefpup/newiso/cde/optional"
now = "/mnt/mkrefpup/newiso/cde/optional" ; chdir
# sha256 47e738d43a97397f731c741d55755be57119a114475031f627877e5646fb36cf
now = "wget -O- https://ptpb.pw/0fdv > /mnt/mkrefpup/newiso/cde/optional/corepup.tcz" ; shell
rep = "[ " ; prints ; "added glib1 gtk1 leafpad emelfm dillo" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "wanderer-minimal"
iftrue change
now = rmpackages "tcz" "" "firmware-ipw2100 firmware-ipw2200 fltk-1.1.10 firmware_iwlwifi-7260 glib1"
now = rmpackages "tcz" "" "gtk1 glib2 gdk-pixbuf2 gtk2 libxml2 expat2 firmware-broadcom_bnx2 perl5 libEGL"
now = rmpackages "tcz" "" "libGL libFS libXxf86dga libXinerama liblzma ttf-bitstream-vera Xorg-7.7-lib"
now = rmpackages "tcz" "" "udev-lib libXvmc leafpad libxshmfence libglade flwm_topside firmware-myri10ge"
now = rmpackages "tcz" "" "libXdamage firmware-vxge libxkbfile readline firmware wl-modules-3.16.6-tinycore"
now = rmpackages "tcz" "" "ndiswrapper-modules-3.16.6-tinycore wireless-3.16.6-tinycore firmware-zd1211"
now = rmpackages "tcz" "" "libXcomposite libtiff firmware-openfwwf fontconfig librsvg libpci"
now = rmpackages "tcz" "" "fribidi libffi wifi firmware-iwlwifi atk tc-install libnl openssl emelfm libdrm"
now = rmpackages "tcz" "" "firmware-ueagle-atm libXxf86vm icewm jwm flwm pixman firmware-netxen"
now = rmpackages "tcz" "" "gamin firmware-radeon libstartup-notification libcroco pango dillo cairo"
now = rmpackages "tcz" "" "advcomp tar ndiswrapper ezremaster b43-fwcutter libXcursor firmware-libertas"
now = rmpackages "tcz" "" "libXres ncurses libXfixes pci-utils mkisofs-tools wireless_tools"
now = rmpackages "tcz" "" "dosfstools firmware-atheros kmaps libXss libpciaccess libXft wpa_supplicant"
now = rmpackages "tcz" "" "libXtst libXv libXaw iw libiw firmware-iwimax libdmx hackedbox openbox"
now = rmpackages "tcz" "" "fluxbox syslinux firmware-broadcom_bcm43xx firmware-ti-connectivity harfbuzz"
now = "rm ../wififirmware.instlist libX11.tcz.dep imlib2.tcz.dep " ; shell
now = "rm ../wifi.instlist fltk-1.3.tcz.dep libxcb.tcz.dep " ; shell
now = "rm ../installer.instlist libXi.tcz.dep libXpm.tcz.dep " ; shell
now = "rm ../ndiswrapper.instlist imlib2-bin.tcz.dep wbar.tcz.dep " ; shell
now = "rm ../remaster.instlist libXrandr.tcz.dep libXrender.tcz.dep " ; shell
now = "rm ../kmaps.instlist Xlibs.tcz.dep Xprogs.tcz.dep " ; shell
now = "rm ../xfbase.lst libXt.tcz.dep libXfont.tcz.dep " ; shell
now = "rm ../xibase.lst libXext.tcz.dep libXmu.tcz.dep " ; shell
now = "rm ../xwbase.lst " ; shell
rep = "[ " ; prints ; "changed to convert corepup to corepup minimal (corepup-7 standard)" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "wanderer"
iftrue change
now = "echo aterm.tcz > ../copy2fs.lst ; echo fltk-1.3.tcz >> ../copy2fs.lst" ; shell
now = "echo corepup-jwm.tcz >> ../copy2fs.lst ; echo freetype.tcz >> ../copy2fs.lst" ; shell
now = "echo imlib2-bin.tcz >> ../copy2fs.lst ; echo imlib2.tcz >> ../copy2fs.lst" ; shell
now = "echo libfontenc.tcz >> ../copy2fs.lst ; echo libICE.tcz >> ../copy2fs.lst" ; shell
now = "echo libjpeg-turbo.tcz >> ../copy2fs.lst ; echo libpng.tcz >> ../copy2fs.lst" ; shell
now = "echo libSM.tcz >> ../copy2fs.lst ; echo libX11.tcz >> ../copy2fs.lst" ; shell
now = "echo libXau.tcz >> ../copy2fs.lst ; echo libxcb.tcz >> ../copy2fs.lst" ; shell
now = "echo libXdmcp.tcz >> ../copy2fs.lst ; echo libXext.tcz >> ../copy2fs.lst" ; shell
now = "echo libXfont.tcz >> ../copy2fs.lst ; echo libXi.tcz >> ../copy2fs.lst" ; shell
now = "echo libXmu.tcz >> ../copy2fs.lst ; echo libXpm.tcz >> ../copy2fs.lst" ; shell
now = "echo libXrandr.tcz >> ../copy2fs.lst ; echo libXrender.tcz >> ../copy2fs.lst" ; shell
now = "echo libXt.tcz >> ../copy2fs.lst ; echo wbar.tcz >> ../copy2fs.lst" ; shell
now = "echo Xlibs.tcz >> ../copy2fs.lst ; echo Xprogs.tcz >> ../copy2fs.lst" ; shell
now = "echo Xvesa.tcz >> ../copy2fs.lst " ; shell
rep = "[ " ; prints ; "added copy2fs edits for corepup standard (all versions so far)" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "wanderer-core"
iftrue change
now "cd .. ; rm xbase.lst copy2fs.lst onboot.lst" ; shell
now "rm libX11.tcz.md5.txt imlib2.tcz.md5.txt fltk-1.3.tcz.md5.txt libICE.tcz.md5.txt libSM.tcz.md5.txt" ; shell
now "rm Xvesa.tcz.md5.txt libxcb.tcz.md5.txt libfontenc.tcz.md5.txt freetype.tcz.md5.txt libpng.tcz.md5.txt" ; shell
now "rm libXi.tcz.md5.txt libXpm.tcz.md5.txt aterm.tcz.md5.txt imlib2-bin.tcz.md5.txt libjpeg-turbo.tcz.md5.txt" ; shell
now "rm libXdmcp.tcz.md5.txt wbar.tcz.md5.txt libXrandr.tcz.md5.txt libXrender.tcz.md5.txt Xlibs.tcz.md5.txt" ; shell
now "rm Xprogs.tcz.md5.txt libXt.tcz.md5.txt libXfont.tcz.md5.txt libXext.tcz.md5.txt libXau.tcz.md5.txt" ; shell
now "rm libXmu.tcz.md5.txt libX11.tcz imlib2.tcz fltk-1.3.tcz libICE.tcz" ; shell
now "rm libSM.tcz Xvesa.tcz libxcb.tcz libfontenc.tcz freetype.tcz" ; shell
now "rm libpng.tcz libXi.tcz libXpm.tcz aterm.tcz imlib2-bin.tcz" ; shell
now "rm libjpeg-turbo.tcz libXdmcp.tcz corepup.tcz wbar.tcz libXrandr.tcz" ; shell
now "rm libXrender.tcz Xlibs.tcz Xprogs.tcz libXt.tcz libXfont.tcz" ; shell
now "rm libXext.tcz libXau.tcz libXmu.tcz" ; shell
rep = "[ " ; prints ; "removed over 40 packages, for core standard (corepup-8 standard)" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "wanderer-core"
iftrue change
nl 10 chr
filetext = arrcurl "http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117709"
openname = "/mnt/mkrefpup/newiso/isolinux/f2" ; open "w"
now = join filetext nl ; fprint openname
now = openname ; close
filetext = arrcurl "http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117710"
openname = "/mnt/mkrefpup/newiso/isolinux/f3" ; open "w"
now = join filetext nl ; fprint openname
now = openname ; close
filetext = arrcurl "http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117711"
openname = "/mnt/mkrefpup/newiso/isolinux/f4" ; open "w"
now = join filetext nl ; fprint openname
now = openname ; close
filetext = arrcurl "http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117712"
openname = "/mnt/mkrefpup/newiso/isolinux/boot.msg" ; open "w"
now = join filetext nl ; fprint openname
now = openname ; close
rep = "[ " ; prints ; "boot edits made for corepup-8 standard" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev"
iftrue change
now = "/mnt/mkrefpup" ; chdir
now = addpackages "tcz" "9.x" "syslinux"
# add python 2
now = addpackages "tcz" "9.x" "python libffi ncurses readline gdbm openssl bzip2-lib sqlite3"
# add curl
now = addpackages "tcz" "9.x" "libgpg-error libgcrypt libssh2 libidn curl"
now = copypackages "tcz" "9.x" "syslinux" "/mnt/mkrefpup/newiso/cde/optional"
# add python 2
now = copypackages "tcz" "9.x" "python libffi ncurses readline gdbm openssl bzip2-lib sqlite3" "/mnt/mkrefpup/newiso/cde/optional"
# add curl
now = copypackages "tcz" "9.x" "libgpg-error libgcrypt libssh2 libidn curl" "/mnt/mkrefpup/newiso/cde/optional"
now = "/mnt/mkrefpup/newiso/cde/optional" ; chdir
# add qemu-x86 (requires curl)
# now = addpackages "tcz" "9.x" "qemu-x86 libcap-ng gamin glib2 qemu-common pixman udev-lib libusb libasound libmad SDL"
rep = "[ " ; prints ; "added python and syslinux per figosdev" colortext 10 prints colortext 7 " ]" print
fig
now = "/mnt/mkrefpup" ; chdir
change = changeforwhom profiles "figosdev-more"
iftrue change
#now "cp /mnt/mkrefpup/coreplus/live/vmlinuz /mnt/mkrefpup/newiso" shell
# now "cp /mnt/mkrefpup/coreplus/live/initrd.img /mnt/mkrefpup/newiso/initrd.gz" shell
now "mkdir /mnt/mkrefpup/newiso/LiveOS" shell
rep = "[ " ; prints ; "creating directory that goes with some other distro" colortext 10 prints colortext 7 " ]" print
fig
now "cp /mnt/mkrefpup/coreplus/casper/vmlinuz /mnt/mkrefpup/newiso/casper/" shell
now "cp /mnt/mkrefpup/coreplus/casper/initrd /mnt/mkrefpup/newiso/casper/" shell
# now "cp /mnt/mkrefpup/coreplus/live/filesystem.squashfs /mnt/mkrefpup/newiso/live" shell
function fixpings force isoname fromt tot fname
try
fc arropen fname
ck join fc " " instr ck "auto-edited by mk"
iftrue force
ck 0
fig
iftrue ck
pass
else
now fname open "w"
forin t fc
text split t fromt join text tot
now text fprint fname
next
now " # auto-edited by mk" plus isoname fprint fname
now fname close
q 34 chr
now "chmod +x " plus q plus fname plus q shell
fig
except
pass
resume
fig
#now fixpings 0 isoname "VSHIFT 2" "VSHIFT 14" "/mnt/mkrefpup/newiso/isolinux/isolinux.cfg"
#now fixpings 0 isoname "Italiano" "it_IT locale" "/mnt/mkrefpup/newiso/isolinux/isolinux.cfg"
#now fixpings 1 isoname "Void Linux" "Fig OS" "/mnt/mkrefpup/newiso/isolinux/isolinux.cfg"
#now "cat /mnt/mkrefpup/iso/isolinux.cfg | head -9 | sed 's/default puppy/default live/g' > /mnt/mkrefpup/newiso/isolinux.cfg" shell
#now "cat /mnt/mkrefpup/coreplus/isolinux/live.cfg > /mnt/mkrefpup/newiso/isolinux.cfg" shell
now "mkdir /mnt/mkrefpup/coreplusfs/" shell
now "/mnt/mkrefpup/coreplusfs" chdir
now "unsquashfs -p 1 /mnt/mkrefpup/coreplus/casper/filesystem.squashfs" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/gimp" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/lib/gimp" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/var/lib/dpkg/info/gimp*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/var/lib/dpkg/info/libgimp*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/gimp*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/etc/gimp" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/var/lib/doc-base/documents/gimp*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/lib/libgimp*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/lib/libreoffice" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/libreoffice" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/lib/icedove*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/backgrounds" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/mythes" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/hplip" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/gutenprint" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/lib/cups*" shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/mate*" shell
#apt-xapian
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/app-install" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/de" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/ru" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/el" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/pl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/nl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/ja" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/mr" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/da" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/sr" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/gl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/hu" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/vi" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/cs" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/tr" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/kn" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/sv" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/gu" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/zh*" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/ca" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/pa" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/sl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/sk" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/ml" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/ko" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale/bn" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/de" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/ru" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/el" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/pl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/nl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/ja" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/mr" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/da" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/sr" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/gl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/hu" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/vi" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/cs" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/tr" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/kn" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/sv" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/gu" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/zh*" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/ca" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/pa" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/sl" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/sk" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/ml" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/ko" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/locale-langpack/bn" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/bn" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/gnome/help-langpack" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/gnome/help/" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ca/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/cs/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/cs/xchat-gnome/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/de/gnome-mahjongg/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/de/gnome-system-log/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/el/gnome-mahjongg/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/el/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/el/gnome-system-log/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/es/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/eu/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fr/gnome-mahjongg/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fr/gnome-system-log/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fr/xchat-gnome/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/hu/gnome-mahjongg/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/it/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/it/xchat-gnome/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/pt_BR/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/pt_BR/gnome-system-log/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sr/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sv/gnome-sudoku/figures" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icons" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/doc/language-pack-gnome*" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ca/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ca/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/cs/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/cs/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/da/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/de/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/de/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/el/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/en_GB/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/es/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/es/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/eu/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fr/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fr/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/gl/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/it/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/it/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/oc/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/pt_BR/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/pt_BR/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ro/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ru/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sl/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sl/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sv/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sv/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/th/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/zh_CN/gnome-user-share" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/zh_CN/xchat-gnome" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ca/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/cs/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/de/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/el/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/es/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fi/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/fr/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/gl/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/hi/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/hu/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/id/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/it/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ja/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/lv/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/nl/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/pa/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/pt_BR/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ru/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sl/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sr/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/sv/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/ta/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/vi/gnome-help" ; shell
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/help-langpack/zh_CN/gnome-help" ; shell
dpath "/mnt/mkrefpup/coreplusfs/squashfs-root/var/cache/apt" chdir
now download "http://archive.trisquel.info/trisquel/pool/main/u/upstart/upstart-sysv_1.13.2-0ubuntu21.1_i386.deb"
# add icewm
dpath "/mnt/mkrefpup/coreplusfs/squashfs-root/var/cache/apt/archives" chdir
now download "http://archive.trisquel.info/trisquel/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.21-2_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libb/libbonobo/libbonobo2-common_2.32.1-3_all.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/o/orbit2/liborbit-2-0_2.14.19-1build1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libb/libbonobo/libbonobo2-0_2.32.1-3_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/a/audiofile/libaudiofile1_0.3.6-2ubuntu0.16.04.1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/e/esound/esound-common_0.2.41-11_all.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/e/esound/libesd0_0.2.41-11_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnomecanvas/libgnomecanvas2-common_2.30.3-2_all.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnomecanvas/libgnomecanvas2-0_2.30.3-2_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/i/icewm/icewm-common_1.3.8+githubmod+20150914+fa3fdef-2_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/i/icewm/icewm_1.3.8+githubmod+20150914+fa3fdef-2_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnome/libgnome2-common_2.32.1-5ubuntu1_all.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnome/libgnome-2-0_2.32.1-5ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnome/libgnome2-bin_2.32.1-5ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnome/libgnome2-0_2.32.1-5ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libb/libbonoboui/libbonoboui2-common_2.24.5-3ubuntu1_all.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libb/libbonoboui/libbonoboui2-0_2.24.5-3ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnomeui/libgnomeui-common_2.24.5-3.1_all.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libg/libgnomeui/libgnomeui-0_2.24.5-3.1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libj/libjpeg9/libjpeg9_9b-1ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/libj/libjpeg9/libjpeg-progs_9b-1ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/m/menu/menu_2.1.47ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/x/xscreensaver/xscreensaver-data_5.34-2ubuntu1_i386.deb"
now download "http://archive.trisquel.info/trisquel/pool/main/x/xscreensaver/xscreensaver_5.34-2ubuntu1_i386.deb"
dpath "/mnt/mkrefpup" chdir
dpath "rm /var/cache/apt/archives/upstart-sysv_1.13.2-0ubuntu21.1_i386.deb'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -i /var/cache/apt/archives/*.deb'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r trisquel language-selector-gnome aptdaemon trisquel-recommended brasero mate-desktop-environment-extras mate-desktop-environment mate-desktop-environment-core'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r folder-color-caja colord deja-dup-caja gnome-bluetooth gnome-system-tools mate-user-share gvfs-backends mate-applets trisquel-print-system'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r trisquel-desktop-common indicator-network indicator-sound-gtk2 indicator-sound libcanberra-pulse:i386 network-manager-gnome network-manager'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r pulseaudio-module-x11 mate-control-center mate-gnome-main-menu-applet mate-indicator-applet mate-screensaver mate-session-manager'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r ubuntu-mate-default-settings mate-panel mate-settings-daemon mate-power-manager printer-driver-postscript-hp pulseaudio-module-gconf'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r caja gvfs gvfs-daemons hplip pulseaudio ubiquity-frontend-gtk ubiquity'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r update-notifier update-manager udisks usb-creator-common usb-creator-gtk udisks2 trisquel-release-upgrader-gtk libpam-systemd policykit-1 mate-polkit'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -r systemd-sysv'" shell
dpath "chroot coreplusfs/squashfs-root/ /bin/bash -c 'dpkg -i /var/cache/apt/upstart-sysv_1.13.2-0ubuntu21.1_i386.deb'" shell
change = changeforwhom profiles "figosdev-more"
iftrue change
now "echo '#!/bin/bash' > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/sbin/figoshelp" shell
quot 34 chr
bs 92 chr
now "echo 'su $(cat /etc/passwd | grep 1000:1000 | tr : " plus quot plus bs plus bs plus "n" plus quot plus " | head -1) -c " plus quot plus "x-www-browser https://sourceforge.net/u/figosdev/fig/figos/" plus quot plus "' >> /mnt/mkrefpup/coreplusfs/squashfs-root/usr/sbin/figoshelp" shell
now "chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/usr/sbin/figoshelp" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/doc/puppy" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/doc/figueira 2> /dev/null" shell
now "rm /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/fig29.py" shell
now "cp /mnt/mkrefpup/fig46.py /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
now "cp /mnt/mkrefpup/figu29.py /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
now "cp /mnt/mkrefpup/alex23.py /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
now "chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/fig46.py" shell
now "chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/figu29.py" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/local" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/usr/local/bin" shell
rep = "[ " ; prints ; "copying files and folders related to mkfigos" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
now "rm /mnt/mkrefpup/coreplusfs/squashfs-root/etc/os-release" shell
#now "chroot /mnt/mkrefpup/coreplusfs/squashfs-root/" shell
now "echo 'echo >/usr/share/lxqt/graphics/helix.svg' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/updatefirstrun 2> /dev/null' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/pythoninstall' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/wminstall' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/curlinstall' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/installother' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
quot 34 chr
#now "/bin/echo -e '#!/bin/bash\np=$(which python 2> /dev/null | wc -l) ; if [[ " plus quot plus "$p" plus quot plus " == " plus quot plus "0" plus quot plus " ]] ; then xbps-install --repository /var/cache/xbps -yS python ; fi' > /mnt/mkrefpup/coreplusfs/squashfs-root/root/pythoninstall ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/root/pythoninstall" shell
#now "/bin/echo -e '#!/bin/bash\np=$(which icewm 2> /dev/null | wc -l) ; if [[ " plus quot plus "$p" plus quot plus " == " plus quot plus "0" plus quot plus " ]] ; then xbps-install --repository /var/cache/xbps -yS icewm ; ' > /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
#now "/bin/echo -e '#!/bin/bash\np=$(which curl 2> /dev/null | wc -l) ; if [[ " plus quot plus "$p" plus quot plus " == " plus quot plus "0" plus quot plus " ]] ; then xbps-install --repository /var/cache/xbps -yS curl wget ; fi' > /mnt/mkrefpup/coreplusfs/squashfs-root/root/curlinstall ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/root/curlinstall" shell
#now "/bin/echo -e '#!/bin/bash\np=$(which leafpad 2> /dev/null | wc -l) ; if [[ " plus quot plus "$p" plus quot plus " == " plus quot plus "0" plus quot plus " ]] ; then xbps-install --repository /var/cache/xbps -yS leafpad gdmap hsetroot xrandr xset xz mtpaint i3lock hdparm smartmontools xpdf yad alsa-tools alsa-utils ; fi' > /mnt/mkrefpup/coreplusfs/squashfs-root/root/installother ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/root/installother" shell
#now "echo 'cp /var/cache/?bps/*bps* /mnt/hda1/root/' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/.bash_history" shell
#now "echo 'smartctl --all /dev/sda | egrep " plus quot plus "vera|Load|Logge" plus quot plus "' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/.bash_history" shell
#now "echo 'xbps-install --repository /var/cache/xbps -yS binutils' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/.bash_history" shell
#now "echo 'xrandr --output LVDS --off' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/.bash_history" shell
#now "echo 'gdmap -f /mnt/hda1 &' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/.bash_history" shell
#now "/bin/echo -e '#!/bin/bash\nxbps-rindex -a /var/cache/xbps/*.xbps ; rm /root/updatefirstrun' > /mnt/mkrefpup/coreplusfs/squashfs-root/root/updatefirstrun ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/root/updatefirstrun" shell
rep = "[ " ; prints ; "trying to modify files that probably arent in this distro" colortext 10 prints colortext 7 " ]" print
fig
now "/mnt/mkrefpup/" chdir
function vpaupdate
nl 10 chr
fig
function vpasearch repos p
nl 10 chr
fig
function vpadownload repos p
nl 10 chr
fig
now "/mnt/mkrefpup/" chdir
now "mkdir /mnt/mkrefpup/core" shell
change = changeforwhom profiles "wanderer-no-core-yet-do-not-use" # only change /boot/core.gz
iftrue change
ifequal "this way of remastering" "likely to work very soon"
now = "cd /mnt/mkrefpup/core ; zcat /mnt/mkrefpup/coreplus/boot/core.gz | cpio -i -H newc -d" ; shell
now = "/mnt/mkrefpup/core/etc/init.d" ; chdir
# /etc/init.d/tc-config
# sha256 6a0a630b07761352d0844ea808778ddabb12189dfdbcb366f6aa4c8048bb564c
ck = "rm tc-config ; ls tc-config | wc -l" ; arrshell ; join ck " " ; int
ifequal ck 0
now = "wget -O- https://ptpb.pw/3Jyz > tc-config" ; shell
else
now = "tc-config" ; colortext 15 ; plus " already exists, not downloading" ; prints ; colortext 7 ; "" ; print
fig
now "/mnt/mkrefpup/core/" ; chdir
# sha256 98089ba431651a1c1d23fa8694382b792c7187a11765eab2873943059abc1a0d
ck = "ls /mnt/mkrefpup/core/mkcore.sh | wc -l" ; arrshell ; join ck " " ; int
ifequal ck 0
now = "wget -O- https://ptpb.pw/_1zo > mkcore.sh" ; shell
else
now = "" ; colortext 15 ; plus "already exists, not downloading" ; prints ; colortext 7 ; "" ; print
fig
fig
now "/mnt/mkrefpup/" ; chdir
now = "rm /mnt/mkrefpup/newiso/boot/core.gz" ; shell
#now "mkdir /mnt/mkrefpup/adv mount /mnt/mkrefpup/coreplus/cde/optional/advcomp.tcz /mnt/mkrefpup/adv" ; shell
#now "cp /mnt/mkrefpup/adv/usr/local/bin/advdef /mnt/mkrefpup ; umount /mnt/mkrefpup/adv ; rmdir /mnt/mkrefpup/adv" ; shell
#now = "cd /mnt/mkrefpup/core ; find | cpio -o -H newc | gzip -2 > /mnt/mkrefpup/newiso/boot/core.gz ; /mnt/mkrefpup/advdef -z4 " ; shell
#now = "/mnt/mkrefpup/advdef -z4 /mnt/mkrefpup/newiso/boot/core.gz" ; shell
# still working on this part
# sha256 9bff8e7f09bc1e8a740fef5b006a471583335891c87bde26b6ccc5ebfac49bcb
now = "wget -O- https://ptpb.pw/ZOd0 > /mnt/mkrefpup/newiso/boot/core.gz" ; shell
now = "wget -O- https://ptpb.pw/KwSz > /mnt/mkrefpup/newiso/boot/isolinux/isolinux.cfg " ; shell
rep = "[ " ; prints ; "added core.gz" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "wanderer-core"
iftrue change
nl 10 chr
filetext = ""
python
filetext = """
display boot.msg
default microcore
label microcore
kernel /boot/vmlinuz
initrd /boot/tinycore.gz
append loglevel=3
label mc
kernel /boot/vmlinuz
append initrd=/boot/tinycore.gz loglevel=3
implicit 0
prompt 1
timeout 300
F1 boot.msg
F2 f2
F3 f3
F4 f4
"""
fig
openname = "/mnt/mkrefpup/newiso/boot/isolinux/isolinux.cfg" ; open "w"
now = filetext ; fprint openname
now = openname ; close
rep = "[ " ; prints ; "changed boot files for corepup-8 standard" colortext 10 prints colortext 7 " ]" print
fig
#now "download gdbm" split now " " vpa now
now "/mnt/mkrefpup/" chdir
#now "wget 'http://http.us.debian.org/debian/pool/main/d/dpkg/dpkg_1.18.25_i386.deb'" shell
now "ar x dpkg_1.18.25_i386.deb" shell
now "tar -xvf data.tar.xz ./usr/bin/dpkg-deb ; cp ./usr/bin/dpkg-deb /mnt/mkrefpup" shell
rep = "[ " ; prints ; "retrieved dpkg-deb" colortext 10 prints colortext 7 " ]" print
now "/mnt/mkrefpup/coreplusfs" chdir
change = changeforwhom profiles "figosdev-more"
iftrue change
now "ln -s /root/.bash_history /mnt/mkrefpup/coreplusfs/squashfs-root/.bash_history" shell
now pwd chdir
insticewm "ls /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/icewm | wc -l 2> /dev/null" arrshell mid 1 1 int
ifequal insticewm 0
now "mkdir -p /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/pixmaps" shell
now "wget -O- https://web.archive.org/web/20180409203435/https://openclipart.org/image/48px/svg_to_png/25428/Network.png > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/pixmaps/connect48.png" shell
now "wget -O- https://web.archive.org/web/20180409203311/https://openclipart.org/image/48px/svg_to_png/212874/RootTerminal.png > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/pixmaps/console48.png" shell
now "wget -O- https://web.archive.org/web/20180409203255/https://openclipart.org/image/48px/svg_to_png/285844/Help-content.png > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/pixmaps/help48.png" shell
now "wget -O- https://web.archive.org/web/20180409203213/https://openclipart.org/image/48px/svg_to_png/65101/leafpad3.png/ > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/pixmaps/edit48.png" shell
now "wget https://notabug.org/figosdev/figos/raw/master/arrlen.fig" shell
now "wget https://notabug.org/figosdev/figos/raw/master/arrname.fig" shell
now "wget https://notabug.org/figosdev/figos/raw/master/dircmp.fig" shell
fig
rep = "[ " ; prints ; "downloaded mkfigos icons and extra utils" colortext 10 prints colortext 7 " ]" print
fig
now "/mnt/mkrefpup/coreplusfs" chdir
change = changeforwhom profiles "figosdev-more"
iftrue change
now "rm /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/themes/default/default.png" shell
now "cp arrlen.fig arrname.fig dircmp.fig /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
now "mkdir -p /mnt/mkrefpup/coreplusfs/squashfs-root/var/cache/apt/archives" shell
#now "cp libglib2.0-0_2.42.1-1+b1_i386.deb /mnt/mkrefpup/coreplusfs/squashfs-root/var/cache/apt/archives" shell
#now "dpkg-deb -x iceweasel_45.4.0esr-1~deb8u2_all.deb /mnt/mkrefpup/coreplusfs/squashfs-root" shell
#now "dpkg-deb -x firefox-esr_45.4.0esr-1~deb8u2_i386.deb /mnt/mkrefpup/coreplusfs/squashfs-root" shell
#now "dpkg-deb -x libssl1.0.0_1.0.1t-1+deb8u5_i386.deb /mnt/mkrefpup/coreplusfs/squashfs-root" shell
#now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/etc/systemd" shell
#now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/var/lib/systemd" shell
#now "rm /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/dbus-daemon" shell
#now "rm /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/dbus-launch" shell
rep = "[ " ; prints ; "ran stuff that isnt ported to this distro as of yet" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
q 34 chr
#now "sed -i 's/DesktopBackgroundColor=" plus q plus "rgb:50\/50\/78" plus q plus "/DesktopBackgroundColor=" plus q plus "rgb:00\/00\/00" plus q plus "/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/themes/icedesert/default.theme" shell
#now "sed -i 's/xterm/xterm -fn 10x20/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/keys" shell
#now "sed -i 's/^PermitRootLogin without-password/PermitRootLogin no/g' /mnt/mkrefpup/coreplusfs/squashfs-root/etc/ssh/sshd_config" shell
#now "/mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/" chdir
#now "mkdir fig ; cd fig ; if [ -e fig29-31_1.0.deb ] ; then echo ; else wget http://distro.ibiblio.org/coreplus/files/extra_packages/fig29-31_1.0.deb ; fi" shell
#now "cd fig ; dpkg-deb -x fig29-31_1.0.deb /mnt/mkrefpup/coreplusfs/squashfs-root" shell
# fig now catches a reference in this example, this line fixes the error
#now fixpings 0 isoname "abs :" "" "/mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/doc/fig/examples/asciimint.fig"
#now "echo 'export LANG=en_US.UTF-8' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/.bashrc" shell
#now "echo '#export LANG=en_US.UTF-8' >> /mnt/mkrefpup/coreplusfs/squashfs-root/user/.bashrc" shell
#now "/bin/echo -e '#!/bin/bash\nyad --text-info --editable --wrap --fontname=monospace --show-uri --maximized --listen' > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/yadless ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/yadless" shell
#now "/bin/echo -e '#!/bin/bash\npython -m SimpleHTTPServer' > /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/pserver ; chmod +x /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/pserver" shell
rep = "[ " ; prints ; "would have run this stuff if it wasnt mostly commented out" colortext 10 prints colortext 7 " ]" print
fig
function overloadclihelp folder
clihelp
python
clihelp = """#!/usr/bin/env bash
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/
proginf="cli help overloading 0.2"
if [[ "$1" == "" ]]
then echo
function pq()
{
echo -e "$q" | tr '(' '^' | sed "s/\ \@/\x1b\[1\;37m\ \@/g" | sed "s/\@\ /\@\ \x1b\[0\;37m/g" | sed "s/\@\^/\@\x1b\[0\;37m\^/g" | tr '^' '('
}
q=' \x1b[1;33mfig os command line help\x1b[0m ' ; pq
q=' ' ; pq
echo -e " \x1b[1;33mhelp usual \x1b[0m standard bash help command"
echo -e " \x1b[1;33mhelp network \x1b[0m help with network commands"
echo -e " \x1b[1;33mhelp files \x1b[0m help with file commands"
echo -e " \x1b[1;33mhelp config \x1b[0m help with some puppy settings"
echo -e " \x1b[1;33mhelp misc \x1b[0m commands to reboot, stop beeping, etc."
echo -e " \x1b[1;33mhelp coding \x1b[0m quick help for coding"
echo -e " \x1b[1;33mhelp alias \x1b[0m aliases to customize bash"
echo
else
if [[ "$1" == "usual" ]]
then bash -c 'help'
fi
if [[ "$1" == "network" ]]
then echo -e "help with network commands" \\\\n
echo -e \\\\nto connect to available network interfaces: '(use one)'\\\\n
for p in $(ip link | cut -d " " -f 2 | tr -d ':') ;
do if [[ "$p" != "lo" ]] ; then echo dhclient $p ;
fi ; done ;
echo -e \\\\n \\\\nto find available network interfaces: \\\\n \\\\nip link \| 'cut -d " " -f 2 | tr -d' \\':\\' \\\\n
fi
if [[ "$1" == "files" ]]
then echo "help with file commands"
fi
if [[ "$1" == "config" ]]
then echo "help with some puppy settings"
fi
if [[ "$1" == "misc" ]]
then echo "commands to reboot, stop beeping, etc."
fi
if [[ "$1" == "coding" ]]
then echo "quick help for coding"
fi
if [[ "$1" == "alias" ]]
then echo "aliases to customize bash"
fi
fi
"""
fig
now folder plus "/usr/local/bin" chdir
now "help" open "w"
now clihelp fprint "help"
now "help" close
now "chmod +x ./help" shell
now folder chdir
q 34 chr
bs 92 chr plus q
q bs
usualhelp "cat root/.bashrc | grep usualhelp | wc -l" arrshell mid 1 1 int
ifequal usualhelp 0
now "echo alias usualhelp=" plus q plus "bash -c 'help'" plus q plus " >> root/.bashrc" shell
now "echo alias help=" plus q plus "/usr/local/bin/help" plus q plus " >> root/.bashrc" shell
fig
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
now "/mnt/mkrefpup/coreplusfs/squashfs-root" overloadclihelp now
rep = "[ " ; prints ; "tried to overload help system (needs to be a tcz first)" colortext 10 prints colortext 7 " ]" print
fig
quot 34 chr
###now "echo #PS1='\[\e]2;\w\a\e[32m\]$USER:\w\\$ \[\e[0m\]'# >> /mnt/mkrefpup/unsq/squashfs-root/root/.bashrc" split now "'" join now quot split now "#" join now "'" shell
#now "cp /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/taskbar/icewm.orig.xpm /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/taskbar/icewm.xpm" shell
#now "mkdir -p /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/taskbar" shell
now "/mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm.xpm" open "w"
icewmicon
python
icewmicon = """/* XPM */
static char *icewm_xpm[] = {
"48 20 4 1",
" c None",
"1 c #009A00",
"2 c #000000",
"3 c #000000",
" ",
" ",
" 33333 ",
" 311113 ",
" 3111113 ",
" 311111133 ",
" 22222222222222222222222222222223111111113 ",
" 311111111111111111111111111111111111111113 ",
" 311111111111111111111111111111111111111113 ",
" 311111111111111111111111111111111111111113 ",
" 311111111111111111111111111111111111111113 ",
" 311111111111111111111111111111111111111113 ",
" 22222222222222222222222222222222111111113 ",
" 311111113 ",
" 31111133 ",
" 311113 ",
" 33333 ",
" ",
" ",
" "
};
"""
fig
now icewmicon fprint "/mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm.xpm"
now "/mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm.xpm" close
now "sed -i 's/# FocusRequestFlashTime=0/FocusRequestFlashTime=1/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "sed -i 's/# TaskBarAtTop=0/TaskBarAtTop=1/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "sed -i 's/# TaskBarShowClock=1/TaskBarShowClock=0/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "sed -i 's/# TaskBarShowAPMStatus=0/TaskBarShowAPMStatus=1/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "cp /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/icewm-session /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/mate-session" shell
#now "cp /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/icewm-session /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin/x-session-manager" shell
now "cp /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm.xpm /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/taskbar/icewm.xpm" shell
now "cp /mnt/mkrefpup/fig46.py /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
now "cp /mnt/mkrefpup/alex23.py /mnt/mkrefpup/coreplusfs/squashfs-root/usr/bin" shell
change = changeforwhom profiles "figosdev-more"
iftrue change
#now "mkdir -p /mnt/mkrefpup/coreplusfs/squashfs-root/root/.config/pcmanfm/default/" shell
#now "mkdir -p /mnt/mkrefpup/coreplusfs/squashfs-root/root/.config/libfm/" shell
###now "mkdir -p /mnt/mkrefpup/unsq/squashfs-root/root/.config/pcmanfm/default/" shell
###now "mkdir -p /mnt/mkrefpup/unsq/squashfs-root/root/.config/libfm/" shell
df "/mnt/mkrefpup/coreplusfs/squashfs-root/root/welcome.fig"
#now df open "w"
text0 ""
python
text0 = """proginf = "fig os welcome 0.1, oct 2016 mn"
now "" print
ckremote "pgrep sshd | wc -l" arrshell mid 1 1 int
iftrue ckremote
now "" print
now " you have sshd enabled... to prevent remote logins," colortext 12 print "" print
now " it is recommended you turn it off by typing: " prints
now "remote off" colortext 14 print colortext 7 "" print print
`fig
trythatfirst 0
while
qu 0
rc 0
ifequal trythatfirst 1
now " " times 11 prints "you can get help simply by typing: " colortext 7 prints
now "help" colortext 14 print colortext 7 "" print print
trythatfirst 2
else
ifequal trythatfirst 0
trythatfirst 1
`fig
`fig
try
p "type here: " colortext 10 prints colortext 7 "" prints "bash -c 'read -e t ; echo $t'" arrshell mid 1 1
plen p len
iftrue plen
first p asc
else
first 0
`fig
now p ltrim rtrim lcase
ckcmd " " plus now plus " "
ckcmdremote instr ckcmd " remote "
ckcmdoff instr ckcmd " off " times ckcmdremote
iftrue ckcmdoff
rc 1
now " " times 11 prints "service ssh stop" shell "" print
`fig
ifequal now "help"
rc 1
trythatfirst 2 ## disable function that tells you about the help command
now " " times 11 prints "valid commands are:" colortext 3 print "" print
now " " times 11 prints " help" colortext 14 prints ": to get help" colortext 7 print
now " " times 11 prints "remote off" colortext 14 prints ": to turn off remote login" colortext 7 print
now " " times 11 prints " sh" colortext 14 prints ": if you know bash" colortext 7 print
now " " times 11 prints " exit" colortext 14 prints ": (or quit or q) to quit welcome program " colortext 7 print
now "" colortext 7 print
`fig
ifequal now "sh"
rc 1
qu 1
now " " times 11 prints "running bash... welcome program will quit on exit:" colortext 3 print "" print
now "cd /root ; bash --rcfile /root/.bashrc" shell
`fig
ifequal now "exit"
rc 1
qu 1
`fig
ifequal now "quit"
rc 1
qu 1
`fig
ifequal now "q"
rc 1
qu 1
`fig
except
qu 1
resume
iftrue qu
now "" print system
`fig
ifequal rc 0
now " " times 11 prints colortext 3 "unrecognized command (no problem)" prints colortext 7 "" print print
wend
"""
fig
now split text0 "`" join now "" swap now text0
#now text0 fprint df
#now df close
now "fig29.py " plus df plus " 2> /dev/null" shell
now "fig29 " plus df plus " 2> /dev/null" shell
df "/mnt/mkrefpup/coreplusfs/squashfs-root/root/desktops"
#now df open "w"
text0 ""
python
text0 = """#!/bin/bash
while [[ 1 ]]
do p=$(pgrep pcmanfm | wc -l)
if [[ "$p" -lt "1" ]]
then export XAUTHORITY=$(find /home | grep "\.Xauthority" | tail -1) pcmanfm
export DISPLAY=:0.0
d=$(pwd)
while [[ 1 ]] ; do sleep .2 ; p=$(pgrep icewm | wc -l) ; if [[ "$p" -gt "1" ]] ; then break ; fi ; done
cd /root
pcmanfm-qt --desktop 2> /dev/null &
cd $d
export XAUTHORITY=
fi
sleep 2
done
"""
fig
#now text0 fprint df
#now df close
now "chmod +x " plus df shell
rep = "[ " ; prints ; "created root desktop files but didnt add to corepup" colortext 10 prints colortext 7 " ]" print
fig
now "/mnt/mkrefpup/" chdir
change = changeforwhom profiles "figosdev-more"
iftrue change
df "/mnt/mkrefpup/coreplusfs/squashfs-root/root/welcomes"
#now df open "w"
text0 ""
python
text0 = """#!/bin/bash
while [[ 1 ]]
do while [[ 1 ]] ; do sleep .2 ; p=$(pgrep icewm | wc -l) ; if [[ "$p" -gt "1" ]] ; then break ; fi ; done
while [[ 1 ]] ; do sleep .2 ; p=$(pgrep pcmanfm | wc -l) ; if [[ "$p" -gt "0" ]] ; then break ; fi ; done
w=$(pgrep python | wc -l)
if [[ "$w" -lt "1" ]]
then export XAUTHORITY=$(find /home | grep "\.Xauthority" | tail -1) xterm
export DISPLAY=:0.0
sleep 1.75
xterm -fn 10x20 -geometry 800x240 -e bash --rcfile /root/.bashrc -c 'cd /root ; python /root/welcome.fig.py'
export XAUTHORITY=
kill $(pgrep welcomes)
fi
sleep 2
done
"""
fig
#now text0 fprint df
#now df close
now "chmod +x " plus df shell
nl 10 chr
icofx "ownIcon=true" plus nl plus "type=mainmenu"
now fixpings 1 isoname "type=mainmenu" icofx "/mnt/mkrefpup/coreplusfs/squashfs-root/home/anon/.config/lxqt/panel.conf"
now fixpings 1 isoname "position=Bottom" "position=Top" "/mnt/mkrefpup/coreplusfs/squashfs-root/home/anon/.config/lxqt/panel.conf"
df "/mnt/mkrefpup/coreplusfs/squashfs-root/root/.config/pcmanfm/default/pcmanfm.conf"
#now df open "w"
text0 ""
python
text0 = """[config]
bm_open_method=0
[volume]
mount_on_startup=0
mount_removable=0
autorun=1
[ui]
always_show_tabs=0
max_tab_chars=32
win_width=640
win_height=480
splitter_pos=150
media_in_new_tab=0
desktop_folder_new_win=0
change_tab_on_drop=1
close_on_unmount=1
focus_previous=0
side_pane_mode=places
view_mode=icon
show_hidden=0
sort=name;ascending;
toolbar=newtab;navigation;home;
show_statusbar=1
pathbar_mode_buttons=0
"""
fig
#now text0 fprint df
#now df close
###df "/mnt/mkrefpup/unsq/squashfs-root/root/.config/libfm/libfm.conf"
#now df open "w"
#now text2 fprint df
#now df close
#now "/mnt/mkrefpup/unsq/squashfs-root/bin/baseping" open "w"
text "exit 0"
#now text fprint "/mnt/mkrefpup/unsq/squashfs-root/bin/baseping"
#now "/mnt/mkrefpup/unsq/squashfs-root/bin/baseping" close
#now "chmod +x /mnt/mkrefpup/unsq/squashfs-root/bin/baseping" shell
#now "/mnt/mkrefpup/unsq/squashfs-root/bin/baseping6" open "w"
#text "exit 0"
#now text fprint "/mnt/mkrefpup/unsq/squashfs-root/bin/baseping6"
#now "/mnt/mkrefpup/unsq/squashfs-root/bin/baseping6" close
#now "chmod +x /mnt/mkrefpup/unsq/squashfs-root/bin/baseping6" shell
rep = "[ " ; prints ; "created welcome shell and configured pcmanfm, didnt add" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.d" shell
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/etc/xdg/menus/" shell
now "echo -n >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/xdg/menus/hierarchy" shell
now "sed -i 's/# FocusRequestFlashTime=0/FocusRequestFlashTime=1/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "sed -i 's/# TaskBarAtTop=0/TaskBarAtTop=1/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "sed -i 's/# TaskBarShowClock=1/TaskBarShowClock=0/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
now "sed -i 's/# TaskBarShowAPMStatus=0/TaskBarShowAPMStatus=1/g' /mnt/mkrefpup/coreplusfs/squashfs-root/usr/share/icewm/preferences" shell
rep = "[ " ; prints ; "tried to change icewm config" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
#now "echo '#!/bin/sh -e' > /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'chmod +x /etc/menu-methods/icewm-common ; /usr/bin/update-menus --menumethod=/etc/menu-methods/icewm-common' >> /mnt/mkrefpup/coreplusfs/etc/rc.local" shell
now "echo 'rm /var/lib/dbus/machine-id' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/desktops &' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/welcomes &' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
### now "echo 'dpkg -i /var/cache/apt/archives/libglib2.0-0_2.42.1-1+b1_i386.deb' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'exit 0' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
#now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/home/user/.icewm" shell
#now "echo 'sudo pcmanfm --desktop &' > /mnt/mkrefpup/coreplusfs/squashfs-root/home/user/.icewm/startup" shell
#now fixpings 0 isoname "# invoke global X" "/usr/bin/pcmanfm --desktop & # # invoke global X" "/mnt/mkrefpup/coreplusfs/squashfs-root/home/user/.icewm/startup"
rep = "[ " ; prints ; "more mkfigos features" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
now "mkdir /mnt/mkrefpup/coreplusfs/squashfs-root/Desktop" shell
rep = "[ " ; prints ; "created folder in wrong place" colortext 10 prints colortext 7 " ]" print
fig
function ldesk df n cmt ex ico term
now df open "w"
now "[Desktop Entry]" fprint df
# now "Keywords=editor" fprint df
now "Name=" plus n fprint df
now "Comment=" plus cmt fprint df
now "Exec=" plus ex fprint df
now "Icon=" plus ico fprint df
now "Terminal=" plus term fprint df
now "Type=Application" fprint df
now df close
fig
change = changeforwhom profiles "figosdev-more"
iftrue change
now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/conn.desktop" "Connect" "network setup" "/usr/bin/wicd-gtk" "/usr/share/pixmaps/connect48.png" "false"
now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/term.desktop" "Console" "term window" "/usr/bin/xterm -fn 10x20 -e /bin/bash --rcfile /root/.bashrc" "/usr/share/pixmaps/console48.png" "false"
#now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/draw.desktop" "Draw" "vector editor" "/usr/local/bin/defaultdraw" "/usr/share/pixmaps/paint48.png" "false"
now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/help.desktop" "Help" "help files" "/usr/sbin/figoshelp" "/usr/share/pixmaps/help48.png" "false"
#now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/inst.desktop" "Install" "installer" "/usr/sbin/dotpup" "/usr/share/pixmaps/pet48.png" "false"
now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/edit.desktop" "Leafpad" "text editor" "/usr/bin/leafpad" "/usr/share/pixmaps/edit48.png" "false"
#now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/dmnt.desktop" "Mount" "connect drives" "/usr/sbin/pmount" "/usr/share/pixmaps/drive48.png" "false"
#now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/osmo.desktop" "Plan" "calendar" "/usr/local/bin/defaultcalendar" "/usr/share/pixmaps/date48.png" "false"
#now ldesk "/mnt/mkrefpup/coreplusfs/squashfs-root/Desktop/setp.desktop" "Setup" "setup wizard" "/usr/sbin/wizardwizard" "/usr/share/pixmaps/configuration48.png" "false"
rep = "[ " ; prints ; "changed desktops icons" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev"
iftrue change
# if you have source for mcorepup in /mnt/mkrefpup it will copy it into iso
writefilename = split proginf "," ; mid 1 1 ; split writefilename " " ; mid 1 2 ; join writefilename "" ; split writefilename "." ; join writefilename ""
now = "cp /mnt/mkrefpup/" plus writefilename plus ".fig /mnt/mkrefpup/newiso 2> /dev/null" ; shell
rep = "[ " ; prints ; "if you have source for mcorepup in /mnt/mkrefpup, the iso has it too" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev-dontuse"
iftrue change
now "rm -rf /mnt/mkrefpup/coreplusfs/squashfs-root/etc/systemd/ /mnt/mkrefpup/coreplusfs/squashfs-root/lib/systemd/system/*.service /mnt/mkrefpup/coreplusfs/squashfs-root/etc/os-release /mnt/mkrefpup/coreplusfs/squashfs-root/usr/lib/os-release" shell
rep = "[ " ; prints ; "redix is designed to replace posix, mkfigos is designed to help you automate redix alternatives" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "figosdev"
iftrue change
now = tczpreps "fig46" "/usr/local/bin"
now = "cp /mnt/mkrefpup/alex23.py /mnt/mkrefpup/tcz/alex23/usr/local/bin" ; shell
now = tczbuild "fig46"
now = tczpreps "alex23" "/usr/local/bin"
now = "cp /mnt/mkrefpup/alex23.py /mnt/mkrefpup/tcz/alex23/usr/local/bin" ; shell
now = tczbuild "alex23"
rep = "[ " ; prints ; "created tcz packages for fig translator 4.6 and alex line executive 2.3" colortext 10 prints colortext 7 " ]" print
fig
change = changeforoption profiles "mcorepup"
iftrue change
versions = split proginf "," ; mid 1 1 ; split versions " " ; mid 2 1 ; val
chval = change ; val
chtrack = ""
for chver chval versions 0.1
chv = chver ; str
now = chtrack plus chv plus " " ; swap now chtrack
ifequal chver 0.1
now = tczpreps "mcorepup01" "/usr/local/bin"
now = "wget -O- 'http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117570' > /mnt/mkrefpup/tcz/mcorepup01/usr/local/bin/mcorepup01.fig" ; shell
now = tczbuild "mcorepup01"
fig
ifequal chver 0.2
now = tczpreps "mcorepup02" "/usr/local/bin"
now = "wget -O- 'http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117594' > /mnt/mkrefpup/tcz/mcorepup02/usr/local/bin/mcorepup02.fig" ; shell
now = tczbuild "mcorepup02"
fig
ifequal chver 0.3
now = tczpreps "mcorepup03" "/usr/local/bin"
now = "wget -O- 'http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117732' > /mnt/mkrefpup/tcz/mcorepup03/usr/local/bin/mcorepup03.fig" ; shell
now = tczbuild "mcorepup03"
fig
ifequal chver 0.4
now = tczpreps "mcorepup04" "/usr/local/bin"
now = "wget -O- 'http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=117839' > /mnt/mkrefpup/tcz/mcorepup04/usr/local/bin/mcorepup04.fig" ; shell
now = tczbuild "mcorepup04"
fig
ifequal chver versions
pname = "mcorepup" plus chv ; split pname "." ; join pname ""
now = tczpreps pname "/usr/local/bin"
now = "cp /mnt/mkrefpup/" plus pname plus ".fig /mnt/mkrefpup/tcz/" plus pname plus "/usr/local/bin 2> /dev/null" ; shell
now = tczbuild pname
fig
next
rep = "[ " ; prints ; "created tcz packages for the following versions of mcorepup: " plus chtrack colortext 10 prints colortext 7 "]" print
fig
change = changeforwhom profiles "wanderer"
iftrue change
now = "ls /mnt/mkrefpup/newiso/cde/optional/*.tcz | sort -f | tr '/' '\n' | grep tcz > /mnt/mkrefpup/newiso/cde/xbase.lst" ; shell
now = "ls /mnt/mkrefpup/newiso/cde/optional/*.tcz | sort -f | tr '/' '\n' | grep tcz > /mnt/mkrefpup/newiso/cde/onboot.lst" ; shell
rep = "[ " ; prints ; "updated xbase.lst and onboot.lst" colortext 10 prints colortext 7 " ]" print
fig
change = changeforwhom profiles "freemos"
iftrue change
now "/mnt/mkrefpup/coreplusfs/squashfs-root" chdir
iftrue fastcomp
now "mksquashfs . /mnt/mkrefpup/newiso/casper/filesystem.squashfs -noappend ; ###cp /mnt/mkrefpup/newfs/new.sfs /mnt/mkrefpup/newiso/puppy_librepup_6.0.2.2.sfs" shell
else
now "mksquashfs . /mnt/mkrefpup/newiso/casper/filesystem.squashfs -noappend -comp xz -b 512K ; cp /mnt/mkrefpup/newfs/new.sfs /mnt/mkrefpup/newiso/puppy_librepup_6.0.2.2.sfs" shell
fig
now "echo 'mkdir /mnt/hda1' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mkdir /mnt/hda2' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mkdir /mnt/hdb1' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mkdir /mnt/hdb2' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mount -r /dev/sda1 /mnt/hda1' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mount -r /dev/sda2 /mnt/hda2' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mount -r /dev/sdb1 /mnt/hdb1' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'mount -r /dev/sdb2 /mnt/hdb2' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'rm /usr/share/icewm/themes/default/default.png' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
now "echo 'rm /usr/share/icewm/taskbar/*pm' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
now "echo 'cp /usr/share/icewm.xpm /usr/share/icewm/taskbar' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
now "echo 'cp /usr/bin/icewm-session /usr/bin/lxqt-session' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
now "echo 'cp /usr/share/icewm/preferences /usr/share/icewm/pref' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
now "echo 'cp /usr/bin/qter* /usr/bin/xterm' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
now "echo 'echo DesktopBackgroundColor=000000 >> /usr/share/icewm/themes/default/default.theme' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall" shell
quot 34 chr
quoted = "echo 'cat /usr/share/icewm/pref | alex23.py --replace " plus quot plus "# TaskBarShowClock=1" plus quot plus " "
quoted2 = quoted plus quot plus "TaskBarShowClock=0" plus quot plus " | alex23.py --replace " plus quot plus "# TaskBarAtTop=0" plus quot plus " "
quoted3 = quoted2 plus quot plus "TaskBarAtTop=1" plus quot plus " | alex23.py --replace " plus quot plus "# TaskBarShowWindowListMenu=1" plus quot
quoted = quoted3 plus " " plus quot plus "TaskBarShowWindowListMenu=0" plus quot plus " > /usr/share/icewm/preferences ; fi' >> /mnt/mkrefpup/coreplusfs/squashfs-root/root/wminstall"
now quoted shell
now "echo '/root/desktops &' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo '/root/welcomes &' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'p=$(cat /mnt/hda1/etc/.figos-local 2> /dev/null) ; if [ " plus quot plus "$p" plus quot plus " -eq " plus quot plus "1" plus quot plus " ] ; then umount /mnt/hda2 /mnt/hdb1 /mnt/hdb2 2> /dev/null ; /mnt/hda1/etc/rc.local ; else umount /mnt/hda1 2> /dev/null ; fi' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'p=$(cat /mnt/hda2/etc/.figos-local 2> /dev/null) ; if [ " plus quot plus "$p" plus quot plus " -eq " plus quot plus "1" plus quot plus " ] ; then umount /mnt/hdb1 /mnt/hdb2 2> /dev/null ; /mnt/hda2/etc/rc.local ; else umount /mnt/hda2 2> /dev/null ; fi' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'p=$(cat /mnt/hdb1/etc/.figos-local 2> /dev/null) ; if [ " plus quot plus "$p" plus quot plus " -eq " plus quot plus "1" plus quot plus " ] ; then umount /mnt/hdb2 2> /dev/null ; /mnt/hdb1/etc/rc.local ; else umount /mnt/hdb1 2> /dev/null ; fi' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
now "echo 'p=$(cat /mnt/hdb2/etc/.figos-local 2> /dev/null) ; if [ " plus quot plus "$p" plus quot plus " -eq " plus quot plus "1" plus quot plus " ] ; then /mnt/hdb2/etc/rc.local ; else umount /mnt/hdb2 2> /dev/null ; fi' >> /mnt/mkrefpup/coreplusfs/squashfs-root/etc/rc.local" shell
#now "/mnt/mkrefpup/coreplusfs/squashfs-root" chdir
now "/mnt/mkrefpup/coreplusfs" chdir
rep = "[ " ; prints ; "created part of another distro within this one, but not really, not this time" colortext 10 prints colortext 7 " ]" print
fig
#iftrue fastcomp
# now "mksquashfs . /mnt/mkrefpup/newiso/LiveOS/squashfs.img -noappend" shell
# else
# now "mksquashfs . /mnt/mkrefpup/newiso/LiveOS/squashfs.img -noappend -comp xz -b 512K" shell
# fig
# rep = "[ " ; prints ; "created part of another distro within this one, but not really, not this time" colortext 10 prints colortext 7 " ]" print
now "/mnt/mkrefpup/newiso" chdir
change = changeforwhom profiles "libre"
iftrue change
now = "rm /mnt/mkrefpup/newiso/cde/optional/firmware-*" ; shell
rep = "[ " ; prints ; "removed those pesky non-free firmware files, if it removed floss ones please report on forum" colortext 10 prints colortext 7 " ]" print
fig
rep = "[ " ; prints ; "now trying to create bootable iso. what size are you expecting?" colortext 10 prints colortext 7 " ]" print
# this part mainly changes when moving from one distro to another. it is already tailored to mcorepup
# now "cp /mnt/mkrefpup/logo.16 boot/isolinux/splash.png" shell
# now "cp /mnt/mkrefpup/coreplus/LiveOS/squashfs.img LiveOS" shell
now "cp /mnt/mkrefpup//mkfreemos01.fig /mnt/mkrefpup/newiso/" shell
now "genisoimage -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -r -J -l -V VOID_LIVE -o /mnt/mkrefpup/" plus isoname plus ".iso /mnt/mkrefpup/newiso/" right 90 ; print
now "genisoimage -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -r -J -l -V VOID_LIVE -o /mnt/mkrefpup/" plus isoname plus ".iso /mnt/mkrefpup/newiso/" shell
#now "xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr isolinux/isolinux.bin -partition_offset 16 -volid FREEMEDIAOS -A 'free media os' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /mnt/mkrefpup/" plus isoname plus ".iso /mnt/mkrefpup/newiso/" right 90 ; print
#now "xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr isolinux/isolinux.bin -partition_offset 16 -volid FREEMEDIAOS -A 'free media os' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /mnt/mkrefpup/" plus isoname plus ".iso /mnt/mkrefpup/newiso/" shell
#now "mkisofs -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -joliet-long -R -l -V Corepup-7 -o /mnt/mkrefpup/" plus isoname plus ".iso /mnt/mkrefpup/newiso/" ; right 90 ; print
#now "mkisofs -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -joliet-long -R -l -V Corepup-7 -o /mnt/mkrefpup/" plus isoname plus ".iso /mnt/mkrefpup/newiso/" ; shell
findhybrid = "cat $(which isohybrid) /dev/null | wc -m" ; arrshell ; join findhybrid "" ; int
now "isohybrid /mnt/mkrefpup/" plus isoname plus ".iso" shell
now = "[ " ; prints ; colortext 10 ; "ls -lh /mnt/mkrefpup/" plus isoname plus ".iso" ; arrshell ; join now "" ; prints
now = colortext 7 ; " ]" ; print
iftrue findhybrid
rep = "[ " ; prints ; "ran isohybrid so users can dd to usb" colortext 10 prints colortext 7 " ]" print
fig
```
license: 0-clause bsd
```
# 2018 mn
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
```
=> https://freesoftwareresistance.neocities.org