summaryrefslogtreecommitdiffstats
path: root/bin/etc-update
Commit message (Collapse)AuthorAgeFilesLines
* Call die() so that the $TMP directory is always properlyZac Medico2007-11-031-7/+6
| | | | | | cleaned up. (trunk r8405) svn path=/main/branches/2.1.2/; revision=8407
* if mode=1 and `dialog` is not usable, abort #197990 by DominikBuerkleZac Medico2007-11-031-0/+7
| | | | | | (trunk r8402) svn path=/main/branches/2.1.2/; revision=8406
* Bug #195949 - Add one more using_editor conditional forZac Medico2007-10-151-2/+10
| | | | | | diff_command. (trunk r8130) svn path=/main/branches/2.1.2/; revision=8135
* Bug #195949 - Use a different diff_command sanity checkZac Medico2007-10-151-7/+14
| | | | | | when using_editor is true. (trunk r8129) svn path=/main/branches/2.1.2/; revision=8134
* add --debug option and display a message about skippingZac Medico2007-10-121-3/+9
| | | | | | | | non-files so we dont get confusing loops where portage claims there are things to update but etc-update claims there are not (trunk r7994) svn path=/main/branches/2.1.2/; revision=8064
* add standard --help/--version options (trunk r7993)Zac Medico2007-10-121-1/+25
| | | | svn path=/main/branches/2.1.2/; revision=8063
* unify diff_command handling (trunk r7992)Zac Medico2007-10-121-16/+19
| | | | svn path=/main/branches/2.1.2/; revision=8062
* no need to use "function" when defining a function (trunk r7908)Zac Medico2007-10-051-10/+10
| | | | svn path=/main/branches/2.1.2/; revision=7931
* this isnt part of gentoolkit anymore (trunk r7907)Zac Medico2007-10-051-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7930
* Initialize PORTAGE_TMPDIR before using it. (trunk r7887)Zac Medico2007-10-051-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=7922
* Initialize ${TMP} before registering the die trap so thatZac Medico2007-09-261-1/+1
| | | | | | we're sure which directory die will clean up. (trunk r7802) svn path=/main/branches/2.1.2/; revision=7830
* fix possible information leak vulnerability when doingZac Medico2007-09-261-11/+22
| | | | | | | | a merge of configuration files and be better about handling of whitespace in $TMP in a few places (trunk r7799) svn path=/main/branches/2.1.2/; revision=7827
* tweak get_config() so that it only executes one externalZac Medico2007-09-261-9/+15
| | | | | | binary (sed) instead of chaining multiple ones (trunk r7798) svn path=/main/branches/2.1.2/; revision=7826
* change directory to / in case $PWD doesnt exist (trunk r7702)Zac Medico2007-09-061-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=7735
* Make etc-update copy owner and group bits when it merges config files. ↵Zac Medico2007-08-161-1/+3
| | | | | | (trunk r7636) svn path=/main/branches/2.1.2/; revision=7637
* Use user-provided for -5 (bug #47442) (trunk r6735)Zac Medico2007-06-081-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=6756
* convert `type -p` to `type -P` as noted by grobian (trunk r6410:6411)v2.1.2.4Zac Medico2007-04-161-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6414
* For bug #170178, remove all hardcoded references to '/usr/lib/portage'. ↵Zac Medico2007-03-271-2/+2
| | | | | | (trunk r6202:6203) svn path=/main/branches/2.1.2/; revision=6293
* 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>. (trunk r6114:6115) svn path=/main/branches/2.1.2/; revision=6116
* 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. (trunk r5968:5970) svn path=/main/branches/2.1.2/; revision=5971
* 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
* use just [[...]] instead of ((...)); especially when dealing with user inputMike Frysinger2006-04-181-15/+18
| | | | svn path=/main/trunk/; revision=3175
* `` must dieSimon Stelling2006-04-151-22/+22
| | | | svn path=/main/trunk/; revision=3155
* exit if user hits the cancel button in dialog mode; bug 108137Simon Stelling2006-04-131-2/+2
| | | | svn path=/main/trunk/; revision=3141
* don't declare input as integer, or etc-update will crash whenever the user ↵Simon Stelling2006-04-131-1/+1
| | | | | | enters some non-integer value; bug 55082 svn path=/main/trunk/; revision=3140
* ignore backup files when scanning for ._cfg????_*; bug 121401Simon Stelling2006-04-131-1/+1
| | | | svn path=/main/trunk/; revision=3139
* don't display the ._cfg???? files anymore but instead the number of updates ↵Simon Stelling2006-04-131-10/+2
| | | | | | for each file; bug 69845 svn path=/main/trunk/; revision=3138
* Revert r3129 and r3130 because they don't solve bug #129515.Zac Medico2006-04-111-6/+1
| | | | svn path=/main/trunk/; revision=3132
* Make etc-update play nice with symlinks for bug #129515. Thanks to Patrick ↵Zac Medico2006-04-111-1/+6
| | | | | | McLean for the initial patch. svn path=/main/trunk/; revision=3130
* update copyright yearsMike Frysinger2006-01-051-1/+1
| | | | svn path=/main/trunk/; revision=2526