source: ipk/source.arm/tools_kravencfg/_path_/usr/local/share/titan/plugins/kravencfg/kravencfg.sh @ 39499

Last change on this file since 39499 was 39499, checked in by gost, 4 years ago

add arm plugins

File size: 296 bytes
Line 
1#!/bin/sh
2
3lead="#begin_$1"
4tail="#end_$1"
5file_orig="$3/skin.xml"
6file_insert="$3/snippets/$1-$2.xml"
7
8echo lead=$lead
9echo tail=$tail
10echo file_orig=$file_orig
11echo file_insert=$file_insert
12
13sed -i -e "/^$lead$/,/^$tail$/{ /^$lead$/{p; r $file_insert
14        }; /$tail/p; d }" $file_orig
15
16sync
Note: See TracBrowser for help on using the repository browser.