Changeset 16
- Timestamp:
- 07/13/05 20:53:29 (3 years ago)
- Files:
-
- archabs/trunk/custom-config/^custom-config.sh (added)
- archabs/trunk/custom-config/install (modified) (2 diffs)
- archabs/trunk/custom-config/^local.sh (deleted)
- archabs/trunk/custom-config/PKGBUILD (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
archabs/trunk/custom-config/install
r15 r16 3 3 post_install() { 4 4 grep -q '# Local modifications' etc/pacman.conf || { 5 sed -ie 's ,^\(HoldPkg.*\),\1\n# Local modifications\nNoUpgrade = etc/pacman.conf etc/issue etc/inputrc etc/vimrc etc/mail/exim.conf /etc/yp.conf\n,' etc/pacman.conf6 echo "Added custom HoldPkgto /etc/pacman.conf"5 sed -ie 's:^\(\[options\]\):\1\n# Local modifications (custom-config, do not remove)\nNoUpgrade = etc/abs/abs.confetc/syslog-ng/syslog-ng.conf etc/pacman.conf etc/issue etc/inputrc etc/vimrc etc/mail/exim.conf /etc/yp.conf:' etc/pacman.conf 6 echo "Added custom NoUpgrade entries to /etc/pacman.conf" 7 7 } 8 8 grep -q 'Arch Linux' etc/issue && { … … 13 13 } 14 14 15 post_upgrade() { 16 post_install "$@" 17 } 18 15 19 op=$1 16 20 shift archabs/trunk/custom-config/PKGBUILD
r15 r16 1 1 pkgname=custom-config 2 2 pkgver=1.0 3 pkgrel= 33 pkgrel=4 4 4 pkgdesc="Custom configuration files" 5 5 url="http://swapoff.org" … … 9 9 conflicts=() 10 10 replaces=() 11 backup=('etc/vimrc' 'etc/inputrc' 'etc/DIR_COLORS' 'etc/profile.d/^ local.sh')11 backup=('etc/vimrc' 'etc/inputrc' 'etc/DIR_COLORS' 'etc/profile.d/^custom-config.sh') 12 12 install=install 13 source=(vimfiles.tar.bz2 vimrc inputrc ^ local.sh DIR_COLORS)13 source=(vimfiles.tar.bz2 vimrc inputrc ^custom-config.sh DIR_COLORS) 14 14 md5sums=() 15 15
