103 Commits

Author SHA1 Message Date
T. Joseph Carter
ae89fef8b4 Improve Debian version detection 2016-10-27 08:17:31 -07:00
T. Joseph Carter
ee4078ab23 Make version semantic (Closes #49)
What's still missing from this is a version comparison mechanism.  The
reason why it is missing is that we only use this in one place at the
moment, and if you have a version string that is not three digits, your
version is recent enough.  This means we can save this for when there
are a common functions script to import and make the comparisons for us
without code duplication.
2016-10-27 02:13:58 -07:00
T. Joseph Carter
530b8d57f5 Clean the main scripts a bit
Ivan writes pretty dense scripts in some ways, but not others.  Mostly
he likes to collapse statements to a single line and using && and || in
place of if constructs.  Reduces file size and theoretically speeds
execution, but it makes community development tougher and the speed
gains are questionable.

I've begun removing multiple successive writes to a single file such as
those using tee as a means to write files as root.  Clean up enough of
those and you will have a noticable performance impact, although again
there's no evidence there are enough of them here to see one.

Removed a few dead/commented code blocks and restructured a couple of
conditionals to make the no-action condition the else case.

Finally, bumped the version.  This isn't all that'll go into 1.5.1 but
it's a start.
2016-10-27 00:55:16 -07:00
T. Joseph Carter
202d5e6321 Mark FIXMEs, replace ugly multi-line echo 2016-10-26 20:11:49 -07:00
T. Joseph Carter
8897610d95 Scripts: re-indent (tab indentation)
One of the reasons I held off on doing this before is that there are a
lot of complex one-line seds in here that I expect _will_ be broken by
this.  More than a few of these will assume, depend on, require, and
break if specific hardcoded whitespace is not found.  That's problematic
anyway--when whitespace isn't syntactic, you shouldn't do that.  So it's
time to fix these anyway.
2016-10-25 12:12:11 -07:00
T. Joseph Carter
27d40503be *: Fixed trailing whitespace 2016-07-29 10:39:49 -07:00
Ivan X
7b7917d417 changed rawgit.com to raw.githubusercontent.com to resolve https issues 2016-05-28 10:11:26 -04:00
T. Joseph Carter
938db3c46b 2-tools: Make jessie+ condition actually jessie+ 2016-04-10 01:38:10 -07:00
Ivan X
4d1b5db5e3 cppo fixes temp directory paths on OS X 2016-02-19 21:46:46 -05:00
T. Joseph Carter
d86e3bfa88 5-netboot: Guidance on choosing GS/OS version
Closes #45.
2016-01-30 15:27:33 -08:00
T. Joseph Carter
cd20570999 *.txt: Fix Debian wheezy/jessie version checks
Found some checks that assumed all Debian was wheezy, and also a bunch
of use of cut assuming that there will never be a Debian version higher
than 9.0.  Let's just futureproof that code right now.  This closes #56
and uses the method described therein anywhere -c 1 is used now.  For
the checks against -c 1-2, we still use -d . -f 1 as described in the
issue, but modify the following conditionals to test for just the
numeric, without the decimal.
2016-01-30 03:25:27 -08:00
Ivan X
750b9998df fixed bug in entering 30-day month dates in clock.patch 2016-01-19 07:38:23 -05:00
Ivan X
50875f5c3f internet archive backup for MountIt 2016-01-17 22:27:41 -05:00
Ivan X
dea2ea2ce2 fixed netboot user setup 2016-01-17 15:37:02 -05:00
Ivan X
bb5f42462e fixed issues with download Apple II titles from original hosts 2016-01-17 15:03:40 -05:00
Ivan X
9dfbe0e9f3 removed "Attempting" status language because it bugged me 2016-01-17 13:09:38 -05:00
Ivan X
94b6dcaa26 fixed a2server-setup and -update aliases not respecting env vars
using new installer -i flag in a2server-update to trigger reinstall
2016-01-17 12:23:24 -05:00
Ivan X
fbc1ce5ba2 fixed detection of installed comm software; minor text changes 2016-01-17 10:06:01 -05:00
Ivan X
b7528026de fixed cppo cleanup on exit 2016-01-17 10:05:35 -05:00
Ivan X
60f88e4e8a use rawgit.com for default A2SERVER_SCRIPT_URL 2016-01-16 23:47:03 -05:00
Ivan X
13343a5c2a doesn't add eth0 to atalk.conf if something already there
improve content and formatting of /etc/init.d/netatalk status messages
2016-01-16 20:58:10 -05:00
Ivan X
95fb701098 get Spectrum/SAFE/SAM/SNAP URL's from dist page; display version numbers 2016-01-16 14:32:51 -05:00
Ivan X
3a0e123c0a clean up /tmp/cppo-* files on exit; centralized exit 2016-01-16 14:30:53 -05:00
Ivan X
c5460eb292 reorganized and reduced number of netboot and software install prompts
better detection and less prompting for already installed software
preconfiguration of SAFE2 and SNAP
2016-01-15 14:06:22 -05:00
Ivan X
653218535f download and install nulib2-3.1.0a2 (rather than a1) 2016-01-15 13:40:13 -05:00
Ivan X
a0ded5a7cf fixed bug in 'appletalk-off' alias 2016-01-15 13:37:24 -05:00
Ivan X
3cc2beabcf support nulib2-3.1.0a2 (rather than working around bug in 3.1.0a1) 2016-01-15 13:34:52 -05:00
Ivan X
4ca810bd26 SNAP installed 2016-01-12 07:32:24 -05:00
Ivan X
f8d7a916e2 SAM2 (POP email) client installed; fix for extracting sdk with nulib2 2016-01-11 02:53:14 -05:00
Ivan X
80c4818d47 install SAFE2 (FTP client) 2016-01-11 01:46:39 -05:00
Ivan X
b846df61da extract .sdk containing one image into same folder 2016-01-11 01:45:48 -05:00
Ivan X
ec0bf3b9d5 cppo properly handles archived disk images (.sdk files) 2016-01-11 01:00:01 -05:00
Ivan X
631ad8a2e2 fixed bug preventing proper afpsync following mixed-case volume conversion 2016-01-10 18:42:09 -05:00
Ivan X
4ad9e10c77 full path display of filenames rather than quasi-hierarchy 2016-01-10 18:41:16 -05:00
Ivan X
9760380115 credit to Greg Branche for original Applesoft 2016-01-10 11:54:57 -05:00
Ivan X
5660347bc8 patches P8 Thunderclock driver year tables automatically based on current date 2016-01-10 11:32:22 -05:00
Ivan X
6f835905af only prompts for updating P8 year tables if 6.0.1 and not already patched 2016-01-10 07:50:28 -05:00
Ivan X
9bd8b0d3f0 python implementation of Apple's CLOCK.PATCH on GS/OS 6.0.1 System Tools 2 2016-01-09 16:53:57 -05:00
Ivan X
9b87db8eb4 installs Marinetti 3.0b8 with MacIP preconfigured 2016-01-06 07:25:18 -05:00
Ivan X
71274cb18f cppo detects invalid SHK rather than creating empty folder 2016-01-06 06:12:24 -05:00
Ivan X
502e638964 install Marinetti 3.0b1 2016-01-05 07:08:48 -05:00
Ivan X
85cbf4d741 '-n' arg for restoring SHK archives in place rather than new parent folder 2016-01-05 07:07:31 -05:00
Ivan X
c5c14759d1 cppo: case insensitive ProDOS single-file; fixed argument validation 2016-01-05 05:52:15 -05:00
Ivan X
6e9ddb5e47 cppo: bug fix on DOS 3.3 file extract 2016-01-04 16:32:48 -05:00
Ivan X
180dcc5634 cppo: -uc option works with SHK; case insensitive extract spec 2016-01-04 10:07:39 -05:00
Ivan X
7163390b19 MountIt is installed, not just an SHK archive 2016-01-04 03:50:22 -05:00
Ivan X
e0a78c5756 cppo: SHK has same process and output as HDV
resource forks are not displayed if not using -e or -ad
2016-01-04 03:49:04 -05:00
Ivan X
8327a5eb8d cppo appends "+" to extended files during ordinary -cat of SHK archives 2016-01-04 01:02:42 -05:00
Ivan X
4a0d574f8a Spectrum: not installed if no GS/OS; fixed install issues 2016-01-03 19:30:11 -05:00
Ivan X
02442b16e5 change 'command -v' to 'hash'; make sure libdb5.1 installs on Wheezy
(Raspbian Wheezy has both libdb5.1 and libdb5.3, so now tries 5.1 first.)
2016-01-03 17:39:09 -05:00