14 Commits

Author SHA1 Message Date
16674d6567 testing 2023-03-27 14:38:34 +02:00
a252de6aaf testing 2023-03-27 13:34:25 +02:00
c918b8bc31 removed tariff file from psa_conf 2023-03-27 13:16:55 +02:00
8da918d63f testing 2023-03-27 13:07:20 +02:00
dcbe9e0d6e testing 2023-03-27 12:59:49 +02:00
71e1ec3182 testing 2023-03-27 12:38:25 +02:00
89cf8a1e79 fixed regex 2023-03-27 12:32:11 +02:00
406bacd457 add 2023-03-27 12:27:29 +02:00
7297664d07 add 2023-03-27 12:18:41 +02:00
78022aa994 add 2023-03-27 12:13:33 +02:00
2ccd4fafdd remove UpdateController 2023-03-27 11:43:19 +02:00
38b3269561 ignore UpdateController 2023-03-27 11:31:27 +02:00
fb2280a930 remove home 2023-03-27 11:27:01 +02:00
0be420c427 testing 2023-03-27 11:26:18 +02:00
7 changed files with 12 additions and 43 deletions

View File

@@ -14,11 +14,8 @@ fi
GIT_PULL_TMP=/tmp/git_pull
OPKG_CMDS_TMP=/tmp/opkg_commands
rm -f $OPKG_PULL_TMP
rm -f $OPKG_CMDS_TMP
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q ".*(DC*.json|dc/dc2c.hex|tariff*.json)" <<< $fn; then
if grep -E -q "(DC.*json|dc2c.hex|tariff.*json)" <<< $fn; then
echo "$fn" >> $GIT_PULL_TMP
fi
if grep -E -q ".*opkg_commands" <<< $fn; then
@@ -32,3 +29,4 @@ for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
source "$fn"
fi
done

View File

@@ -1,5 +1,5 @@
{
"title":"DC2C_pri30",
"version":"27.02.2023 12:20 00001",
"":""
}
"":"7777"
}

View File

@@ -1,5 +1,5 @@
{
"title":"DC2C_pri31",
"version":"27.02.2023 12:20 00001",
"":"1111"
"":"5555"
}

View File

@@ -2,5 +2,5 @@
"title":"DC2C_pri32",
"version":"27.02.2023 12:20 00001",
"":"",
"":"iiii"
"":"6666"
}

File diff suppressed because one or more lines are too long

View File

@@ -1,33 +0,0 @@
#!/bin/bash -
# FILE="/tmp/post-merge$(date +%FT%H-%M-%S)"
# commit=$(git rev-parse --verify HEAD)
# echo "$commit $(git cat-file commit $commit)" >> /tmp/post-merge
# Redirect output to stderr.
exec 1>&2
if [ -z $IFS ]; then
IFS=$'\n'
fi
GIT_PULL_TMP=/tmp/git_pull
OPKG_CMDS_TMP=/tmp/opkg_commands
echo "$(date)" > /tmp/TTT
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q ".*(DC*.json|dc/dc2c.hex|tariff*.json)" <<< $fn; then
echo "$fn" >> $GIT_PULL_TMP
fi
if grep -E -q ".*opkg_commands" <<< $fn; then
readarray opkg_commands < <(cat $fn)
for opkg_c in "${opkg_commands[@]}"; do
test -z $opkg_c && continue;
test ! -z $(grep -E "^\s*[#]+.*$" <<< $opkg_c) && continue
echo -n "$opkg_c" | tr -d '\n\r' >> $OPKG_CMDS_TMP 2>&1
echo "" >> $OPKG_CMDS_TMP 2>&1
done
source "$fn"
fi
done

View File

@@ -0,0 +1,6 @@
{
"title":"DC2C_pri32",
"version":"27.02.2023 12:20 00001",
"":"",
"":"9999"
}