You are not logged in.
I see a lot of packages with .install files that have code like this. What does it do exactly, and when is it needed? TIA.
op=$1
shift
$op $*
op=$1
shift
[ "$(type -t "$op")" = "function" ] && $op "$@"
Last edited by creslin (2008-10-10 15:39:30)
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
There are relics from a time when install files needed them. Now, they are not needed in the install file.
Offline
Ah thanks
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline