From 028415a297f727423af77b36a683730fe1371070 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 5 Oct 2009 18:34:39 +0200 Subject: [PATCH] xbps-base-files: fix /etc/profile.d/vim.sh. Bump to 0.26. --HG-- extra : convert_revision : e3afc5e5cae73b65a5b6c7257a6d6cd423701bc2 --- templates/xbps-base-files/files/vim.sh | 4 ++-- templates/xbps-base-files/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/xbps-base-files/files/vim.sh b/templates/xbps-base-files/files/vim.sh index d063a483275..d5b23447964 100644 --- a/templates/xbps-base-files/files/vim.sh +++ b/templates/xbps-base-files/files/vim.sh @@ -1,6 +1,6 @@ if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then - [ -x //usr/bin/id ] || return - [ `//usr/bin/id -u` -le 100 ] && return + [ -x /bin/id ] || return + [ `/bin/id -u` -le 100 ] && return # for bash and zsh, only if no alias is already set alias vi >/dev/null 2>&1 || alias vi=vim fi diff --git a/templates/xbps-base-files/template b/templates/xbps-base-files/template index 2f239dcd781..facb375b963 100644 --- a/templates/xbps-base-files/template +++ b/templates/xbps-base-files/template @@ -1,6 +1,6 @@ # Template file for 'xbps-base-files' pkgname=xbps-base-files -version=0.25 +version=0.26 build_style=custom-install short_desc="xbps base system files" maintainer="Juan RP "