summaryrefslogtreecommitdiffstats
path: root/bin/etc-update
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect usage of trap (only remove on signal at a time). (trunk r12210)Zac Medico2008-12-121-1/+2
| | | | svn path=/main/branches/2.1.6/; revision=12241
* Fix SIGINT and SIGTERM trap handling so the temp dir always cleaned up whenZac Medico2008-11-231-4/+4
| | | | | | killed. (trunk r12055) svn path=/main/branches/2.1.6/; revision=12056
* 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'. (trunk r12053) svn path=/main/branches/2.1.6/; revision=12054
* Bug #173284 - Do not traverse hidden directories such as .svn or .git whenZac Medico2008-11-151-3/+5
| | | | | | search for protected files. (trunk r11927:11929) svn path=/main/branches/2.1.6/; revision=11930
* 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
* Make user_special() return 1 if none of the patterns in ↵Zac Medico2006-07-191-2/+1
| | | | | | /etc/etc-update.special are matched. svn path=/main/trunk/; revision=3953
* add support to prevent auto-processing for user-special files that match a ↵Marius Mauch2006-07-191-2/+16
| | | | | | pattern in /etc/etc-update.special svn path=/main/trunk/; revision=3936
* use eval to allow shell expansion in config fileMarius Mauch2006-07-191-5/+7
| | | | svn path=/main/trunk/; revision=3935
* Only call portageq onceMarius Mauch2006-07-191-3/+8
| | | | svn path=/main/trunk/; revision=3934
* update mtime after replacing config filesMarius Mauch2006-07-191-0/+2
| | | | svn path=/main/trunk/; revision=3932
* add notice about remaining updates on exitMarius Mauch2006-07-191-1/+7
| | | | svn path=/main/trunk/; revision=3931
* add option to discard config updatesMarius Mauch2006-07-191-3/+25
| | | | svn path=/main/trunk/; revision=3930
* Show full path when auto-mergingMarius Mauch2006-07-191-1/+1
| | | | svn path=/main/trunk/; revision=3929
* ensure we have the necessary accessMarius Mauch2006-07-191-0/+2
| | | | svn path=/main/trunk/; revision=3928
* Remove unnecessary PORTAGE_CALLER exports.Zac Medico2006-06-251-2/+0
| | | | svn path=/main/trunk/; revision=3649
* Fix signal handling for bug #96331. Thanks to S. Caglar Onur ↵Zac Medico2006-06-131-2/+2
| | | | | | <caglar@pardus.org.tr> for this patch. svn path=/main/trunk/; revision=3505
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-1/+1
| | | | svn path=/main/trunk/; revision=3483