casper: fix profile overwriting.

This commit is contained in:
Ark74 2025-07-19 13:45:40 -06:00
parent 959722e3f5
commit d881dc94c2
3 changed files with 9 additions and 39 deletions

View file

@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=23
VERSION=24
. ./config
@ -41,14 +41,11 @@ sed "s/cut/cut -d: -f2- | cut/" -i scripts/casper-functions
sed "s/head -n1/sed -n 1p/" -i scripts/casper-functions
# Set trisquel isos as default suggestion.
patch --no-backup-if-mismatch -p1 < $DATA/set_trisquel_iso_suggestion.patch
patch_p1 $DATA/set_trisquel_iso_suggestion.patch
# Enable abrowser apparmor profile
for i in 35apparmor_abrowser 36apparmor_icecat
do
cp $DATA/$i scripts/casper-bottom
chmod 755 scripts/casper-bottom/$i
done
cp $DATA/35apparmor_browsers scripts/casper-bottom
chmod 755 scripts/casper-bottom/35apparmor_browsers
changelog "Compiled and customized for Trisquel enviroment."