Dash:
[t2.git] / package / develop / automake / automake.postinstall
blob42fdfc967387d869d659c89fcfe77770928b43d9
1 #!/bin/bash
2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 #
5 # T2 SDE: package/*/automake/automake.postinstall
6 # Copyright (C) 2006 - 2021 The T2 SDE Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 dirlist=/usr/share/aclocal/dirlist
17 echo -n "Create aclocal dirlist..."
18 for dir in {/usr/X11,/opt/*,/usr/local}/share/aclocal; do
19 [ -d $dir ] && echo $dir
20 done > $dirlist
21 echo " Done."