code cleanup, arch fixes
[automated-distro-installer] / wrt-setup
index aa34f67f4321872434d6ba55b23f75045db23871..15f28cb7f553d3885eb1d0a86d5d070d1572afca 100755 (executable)
--- a/wrt-setup
+++ b/wrt-setup
@@ -25,7 +25,6 @@ pmirror() {
     # doesn't go into the firmware. build new firmware if you want
     # lots of upgrades.
     f=(/tmp/opkg-lists/*)
-    f=${f[0]}
     if ! (( $(date -r $f +%s) + 60*60*24 > $(date +%s) )); then
         opkg update
     fi