История изменений
Исправление NK, (текущая версия) :
вот такую функцию в /root/.bashrc замутил:
s-sbopkg (){
echo -e "\n##### sbopkg #####"
echo -e "> sbopkg -g $1\n"
sbopkg -g $1
echo -e "\n"
. /etc/sbopkg/sbopkg.conf && . .sbopkg.conf \
&& grep ^VERSION $REPO_ROOT/$REPO_NAME/$REPO_BRANCH/*/*$1*/*.info \
| sed 's|'$REPO_ROOT/$REPO_NAME/$REPO_BRANCH/'||;s|VERSION="|\n|;s|"|\n|'
}
вот что получилось
~ # s-sbopkg mame
##### sbopkg #####
> sbopkg -g mame
Searching for mame
Found the following matches for mame:
games/advancemame
games/ckmame
games/mame
games/advancemame/advancemame.info:
0.106.0
games/ckmame/ckmame.info:
0.11
games/mame/mame.info:
0.167
~ # s-sbopkg smplayer
##### sbopkg #####
> sbopkg -g smplayer
Searching for smplayer
Found the following matches for smplayer:
multimedia/smplayer
15.9.0
Исходная версия NK, :
вот такую функцию в root/.bashrc замутил:
s-sbopkg (){
echo -e "\n##### sbopkg #####"
echo -e "> sbopkg -g $1\n"
sbopkg -g $1
echo -e "\n"
. /etc/sbopkg/sbopkg.conf && . .sbopkg.conf \
&& grep ^VERSION $REPO_ROOT/$REPO_NAME/$REPO_BRANCH/*/*$1*/*.info \
| sed 's|'$REPO_ROOT/$REPO_NAME/$REPO_BRANCH/'||;s|VERSION="|\n|;s|"|\n|'
}
вот что получилось
~ # s-sbopkg mame
##### sbopkg #####
> sbopkg -g mame
Searching for mame
Found the following matches for mame:
games/advancemame
games/ckmame
games/mame
games/advancemame/advancemame.info:
0.106.0
games/ckmame/ckmame.info:
0.11
games/mame/mame.info:
0.167
~ # s-sbopkg smplayer
##### sbopkg #####
> sbopkg -g smplayer
Searching for smplayer
Found the following matches for smplayer:
multimedia/smplayer
15.9.0