• Thomas Haller's avatar
    all: update deprecated SPDX license identifiers · 977ea352
    Thomas Haller authored
    These SPDX license identifiers are deprecated ([1]). Update them.
    
    [1] https://spdx.org/licenses/
    
      sed \
         -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
         -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
         -i \
         $(git grep -l SPDX-License-Identifier -- \
             ':(exclude)shared/c-*/' \
             ':(exclude)shared/n-*/' \
             ':(exclude)shared/systemd/src' \
             ':(exclude)src/systemd/src')
    977ea352
nm-keyfile.py 4.48 KB