summaryrefslogtreecommitdiffstats
path: root/bin/etc-update
Commit message (Collapse)AuthorAgeFilesLines
* etc-update: add clear_term config for bug #142508Zac Medico2011-05-311-3/+4
|
* Update timestamps in headers of modified files.Zac Medico2011-05-251-1/+1
|
* etc-update: clear term when appropriateZac Medico2011-05-171-1/+5
| | | | | | | This solves an issue like bug #142508, but involving etc-update instead of dispatch-conf. This is also relevant to bug #70668, which is the same issue, though the reporter suggested to use colors to delimit the output instead of using clear.
* bash: as a general rule, use read -rZac Medico2010-12-291-1/+1
| | | | This solves cases like bug #350045.
* etc-update: eliminate duplicate example configsZac Medico2010-12-131-1/+5
|
* etc-update: tweak style in do_distconf()Anthony Basile2010-12-131-10/+2
|
* etc-update: replace 'seq' with pure bashv2.2.0_alpha8Zac Medico2010-12-121-3/+6
|
* etc-update: add option to save example configAnthony Basile2010-12-121-0/+33
| | | | This will fix bug #348561.
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Don't use $Id or $Rev for version strings since that doesn't work with git.Zac Medico2010-03-241-1/+1
|
* make sure etc-update sorts updates in the order (1) leading dir path (2) ↵Mike Frysinger2009-06-281-2/+2
| | | | | | filename (3) cfg update svn path=/main/trunk/; revision=13723
* Fix incorrect usage of trap (only remove on signal at a time).Zac Medico2008-12-121-1/+2
| | | | svn path=/main/trunk/; revision=12210
* Fix SIGINT and SIGTERM trap handling so the temp dir always cleaned up whenZac Medico2008-11-231-4/+4
| | | | | | killed. svn path=/main/trunk/; revision=12055
* Bug #188780 - Make the read_int() function show a more human readable errorZac Medico2008-11-231-1/+2
| | | | | | | message, instead of the 'value too great for base' message when the user enters an invalid value such as '1y'. svn path=/main/trunk/; revision=12053
* Bug #173284 - Do not traverse hidden directories such as .svn or .git whenZac Medico2008-11-151-3/+5
| | | | | | search for protected files. svn path=/main/trunk/; revision=11928
* only use dummy echos in do_file() when running in interactive modeMike Frysinger2008-10-101-2/+3
| | | | svn path=/main/trunk/; revision=11673
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-291-2/+1
| | | | | | since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118
* Fix USERLAND references to handle Darwin like BSD.Zac Medico2007-12-291-4/+5
| | | | svn path=/main/trunk/; revision=9117
* Call die() so that the $TMP directory is always properlyZac Medico2007-11-031-7/+6
| | | | | | cleaned up. svn path=/main/trunk/; revision=8405
* if mode=1 and `dialog` is not usable, abort #197990 by DominikBuerkleMike Frysinger2007-11-031-0/+7
| | | | svn path=/main/trunk/; revision=8402
* Bug #195949 - Add one more using_editor conditional forZac Medico2007-10-151-2/+10
| | | | | | diff_command. svn path=/main/trunk/; revision=8130
* Bug #195949 - Use a different diff_command sanity checkZac Medico2007-10-151-7/+14
| | | | | | when using_editor is true. svn path=/main/trunk/; revision=8129
* add --debug option and display a message about skipping non-files so we dont ↵Mike Frysinger2007-10-071-3/+9
| | | | | | get confusing loops where portage claims there are things to update but etc-update claims there are not svn path=/main/trunk/; revision=7994
* add standard --help/--version optionsMike Frysinger2007-10-071-1/+25
| | | | svn path=/main/trunk/; revision=7993
* unify diff_command handlingMike Frysinger2007-10-071-16/+19
| | | | svn path=/main/trunk/; revision=7992
* no need to use "function" when defining a functionMike Frysinger2007-10-031-10/+10
| | | | svn path=/main/trunk/; revision=7908
* this isnt part of gentoolkit anymoreMike Frysinger2007-10-031-1/+1
| | | | svn path=/main/trunk/; revision=7907
* Initialize PORTAGE_TMPDIR before using it.Zac Medico2007-09-291-3/+3
| | | | svn path=/main/trunk/; revision=7887
* Initialize ${TMP} before registering the die trap so thatZac Medico2007-09-241-1/+1
| | | | | | we're sure which directory die will clean up. svn path=/main/trunk/; revision=7802
* fix possible information leak vulnerability when doing a merge of ↵Mike Frysinger2007-09-241-11/+22
| | | | | | configuration files and be better about handling of whitespace in $TMP in a few places svn path=/main/trunk/; revision=7799
* tweak get_config() so that it only executes one external binary (sed) ↵Mike Frysinger2007-09-241-9/+15
| | | | | | instead of chaining multiple ones svn path=/main/trunk/; revision=7798
* change directory to / in case $PWD doesnt existMike Frysinger2007-08-261-1/+3
| | | | svn path=/main/trunk/; revision=7702
* Make etc-update copy owner and group bits when it merges config files.Zac Medico2007-08-161-0/+2
| | | | svn path=/main/trunk/; revision=7636
* Use user-provided $mv_opts for -5 (bug #47442)Marius Mauch2007-06-051-1/+2
| | | | svn path=/main/trunk/; revision=6735
* convert `type -p` to `type -P` as noted by grobianMike Frysinger2007-04-151-1/+1
| | | | svn path=/main/trunk/; revision=6411
* Don't set os.environ["USERLAND"] inside portage.data and rely on USERLAND ↵Zac Medico2007-04-051-1/+1
| | | | | | from the profile instead (bail out if necessary when USERLAND is unset). svn path=/main/trunk/; revision=6341
* For bug #170178, remove all hardcoded references to '/usr/lib/portage'.Zac Medico2007-03-101-2/+2
| | | | svn path=/main/trunk/; revision=6203
* Add compatibility code to avoid the GNU specific --reference option of ↵Zac Medico2007-03-011-2/+6
| | | | | | chmod. Thanks to Timothy Redaelli <drizzt@gentoo.org>. svn path=/main/trunk/; revision=6115
* Add missing quotes.Zac Medico2007-02-151-1/+1
| | | | svn path=/main/trunk/; revision=5970
* Fix CONFIG_PROTECT_MASK support. Thanks to piavlo <piavka@cs.bgu.ac.il> for ↵Zac Medico2007-02-151-1/+2
| | | | | | this patch from bug #166837. svn path=/main/trunk/; revision=5969
* For bug #8423, make etc-update preserve timestamps when possible.Zac Medico2006-11-261-2/+0
| | | | svn path=/main/trunk/; revision=5135
* Add $ROOT and $PORTAGE_CONFIGROOT support for etc-update. Thanks to ↵Zac Medico2006-10-101-5/+9
| | | | | | Jonathan Adamczewski <jadamcze@utas.edu.au> for this patch from bug #150370. svn path=/main/trunk/; revision=4645
* Turn off file name globbing during expansion of ${find_opts} for bug #148115.Zac Medico2006-09-191-1/+2
| | | | svn path=/main/trunk/; revision=4476
* For bug #14321, make etc-update scan for individual files listed in ↵Zac Medico2006-09-161-2/+10
| | | | | | CONFIG_PROTECT. svn path=/main/trunk/; revision=4460
* Use a specialized read_int function to read integer input for bug #143881. ↵Zac Medico2006-08-291-4/+18
| | | | | | This uses a subshell to work around bash's tendency to break out of a loop whenever an integer conversion fails. svn path=/main/trunk/; revision=4375
* fix whitespaceMike Frysinger2006-08-281-15/+15
| | | | svn path=/main/trunk/; revision=4364
* include filename in submenu so we know exactly what we are working onMike Frysinger2006-08-221-1/+2
| | | | svn path=/main/trunk/; revision=4320
* add space before promptMike Frysinger2006-08-051-1/+1
| | | | svn path=/main/trunk/; revision=4154
* Fix broken if/elif statement.Zac Medico2006-07-201-2/+2
| | | | svn path=/main/trunk/; revision=3972