casper: Fix error in lang2locale function, using sed

This commit is contained in:
Ruben Rodriguez 2022-12-08 18:38:26 -05:00
parent ceea8e686c
commit 3ca81325af

View file

@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=14 VERSION=15
. ./config . ./config
@ -40,7 +40,7 @@ sed 's/Depends:/Depends: localechooser-data,\n/' -i debian/control
# Fix error in lang2locale function # Fix error in lang2locale function
sed "s/cut/cut -d: -f2- | cut/" -i scripts/casper-functions sed "s/cut/cut -d: -f2- | cut/" -i scripts/casper-functions
sed "s/head/busybox head/" -i scripts/casper-functions sed "s/head -n1/sed -n 1p/" -i scripts/casper-functions
changelog "Compiled for Trisquel" changelog "Compiled for Trisquel"