mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
smart-selection.mk: Add target -channels.txt-replace (untested)
This commit is contained in:
parent
cde53b4c6b
commit
15f6f93981
1 changed files with 8 additions and 3 deletions
|
|
@ -44,7 +44,8 @@ rpm-install-smart.done:
|
|||
if ! rpm -q smart >/dev/null 2>&1 ; then \
|
||||
wget ftp.jannet.de:/pub/packages/linux/$(DISTRIBUTOR)/$(DISTRO_RELEASE)/inst-source/rpm/i686/smart.rpm; \
|
||||
sudo rpm -U smart.rpm; \
|
||||
sudo smart update -y; \
|
||||
sudo smart update; \
|
||||
sudo smart channel --remove-all; \
|
||||
fi
|
||||
touch $@
|
||||
|
||||
|
|
@ -52,6 +53,10 @@ smart-update.done:
|
|||
smart update || exit 0
|
||||
touch $@
|
||||
|
||||
%-install: smart-update.done
|
||||
cat $* | xargs sudo smart install -y
|
||||
%-packages.txt-install: smart-update.done
|
||||
cat $*-packages.txt | xargs sudo smart install -y
|
||||
|
||||
%-channels.txt-replace: smart-update.done
|
||||
sudo smart channel --remove-all -y
|
||||
sudo smart channel --add -y $*-channels.txt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue