Commit graph

7 commits

Author SHA1 Message Date
Denis Knauf 98a245296e MULTIARCH 2015-10-01 21:52:37 +02:00
Denis Knauf 3782f838eb Logic moved from truckle to cave.
truckle commands to cave added: `cave do`, `cave retry`, `cave upgrade`
You do not need truckle upgrade, now sudo cave upgrade works, too.
These commands do not depend on truckle, it works fine with cave-only.

Environment variables added via `/etc/profile.d/cave.sh`.
At the moment only resume-file-depended variables
(TRUCKLE_RESUME_FILE, CAVE_RESUME_OPTIONS, CAVE_RESOLVE_OPTIONS, ...)
If you use cave, the resume-file will be used automaticaly.
You do not need truckle anymore to have auto-resume-files.
But sudo will remove these from env...

Sudoers-config for cave added via `/etc/sudoers.d/cave`.
sudo will keep the same variables like defined in `/etc/profile.d/cave.sh`.
I do not know, but i think it can be a security hole.
But never allow users to use cave as root!
So, now you can use sudo, too.

These combinations of new cave-related changes will allow this:

  sudo cave upgrade
  sudo cave do
  # something went wrong?
  sudo cave retry

Only pagered it is easier with truckle:

  sudo cave -cy upgrade | less -R
  # vs.
  truckle upgrade
2013-07-10 13:37:23 +02:00
Denis Knauf e1513810e2 tretry added. less-tries. 2013-02-17 14:58:58 +01:00
Denis Knauf a343865160 Makefile: create dirs 2013-02-16 16:15:09 +01:00
Denis Knauf a479b980e0 GetoptLong: ARGV must be used, no @argv possible. :/ 2013-02-16 15:39:57 +01:00
Denis Knauf 4452a3cf61 truckle: Truckle, Shortcuts as classes 2013-02-15 21:33:55 +01:00
Denis Knauf 47e55d8cb8 colored truckle help. .gitignore vim temp files. Makefile added. 2013-02-06 13:50:11 +01:00