summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-08-30 13:16:31 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-08-30 13:16:31 +0200
commiteff3af370068e1bff858298cd3929a4b0184d137 (patch)
treec5188db25ac109fd0f298ff43f5a59b9c02da432
parent4c9efd5bb1e9953aeee4dbaee2f3956ecdd74552 (diff)
downloadlaminar-cnf-eff3af370068e1bff858298cd3929a4b0184d137.tar.gz
laminar-cnf-eff3af370068e1bff858298cd3929a4b0184d137.tar.bz2
laminar-cnf-eff3af370068e1bff858298cd3929a4b0184d137.zip
turris4x: before feeds install remove any package that is already there
When we are overriding some packages from feeds we want to really overwrite it. This removes any existing installation of packages we are providing in personal feed.
-rwxr-xr-xtemplates/turris4x.run1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/turris4x.run b/templates/turris4x.run
index bcdd7f1..4735755 100755
--- a/templates/turris4x.run
+++ b/templates/turris4x.run
@@ -38,6 +38,7 @@ cd openwrt
echo_stage "Add our repository as feed"
echo "src-git personal git@cynerd.cz:openwrt-personal-pkgs" >> feeds.conf
./scripts/feeds update personal
+./scripts/feeds uninstall $(./scripts/feeds list -r personal | awk '{print $1}')
./scripts/feeds install -p personal -d y -f -a
echo_stage "Compile packages from personal feed"