On Tue, 16 Apr 2013, Davide wrote:

> Well actually on my live slackware 14 (x86)  vi is a link to elvis
>
> Although both are installed, by default vi is linked to elvis (and it's
> not something I did manually). looking at the sizes I cannot but agree
> that on the miniroot vim is just eating up space (just guessing that the
> arm packages will me more or less the same size) and on top of that
> there's 120Mb of dependencies to use it !
[..]

Since (if selected) elvis is installed first (due to being in series 'a'),
it sets up a symlink in the doinst.sh script.
If vim is installed, its doinst.sh script checks for the presence of the
'vi' symlink, and if not present, will symlink 'vi' to 'vim'.
root@pepa:~/ac/source/a/elvis# head -n2 /var/log/scripts/elvis-2.2-arm-2
( cd usr/bin ; rm -rf vi )
( cd usr/bin ; ln -sf elvis vi )
root@pepa:~/ac/source/a/elvis#

_______________________________________________
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack

Reply via email to