#!/bin/sh # --- T2-COPYRIGHT-BEGIN --- # t2/architecture/share/preconfig.in # Copyright (C) 2005 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- CFGTEMP_ARCHLIST= for x in architecture/*; do pkgout if [ -d $x -a $x != architecture/share ]; then y="`grep '^#Description: ' $x/config.in 2> /dev/null | head -n 1 | cut -d' ' -f2- | tr ' ' '_'`" [ -n "$y" ] || y=`echo ${x#architecture/} | tr 'a-z' 'A-Z'` CFGTEMP_ARCHLIST="$CFGTEMP_ARCHLIST ${x#architecture/} $y" fi pkgin done