File: nd_updateall

package info (click to toggle)
neurodebian 0.43.0
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,960 kB
  • sloc: sh: 2,419; python: 1,978; perl: 412; makefile: 207; javascript: 63
file content (16 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

. /etc/neurodebian/cmdsettings.sh

if [ -z "$SERIAL" ]; then
    parallel nd_updatedist ::: $alldists
else
    # Original serial version, we might want to switch between the two
    # upon -j
    for d in $alldists; do
      dfamily=${d%%-*}
      drelease=${d##*-}
    
      nd_updatedist $dfamily $drelease
    done
fi