summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/hook_examples/tdebase/pre_build.sh
blob: e764c29adc6816cba776c11f3f57a495b026b5a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

CURR_DIR=$PWD
cd "$PKG_BUILD_PATH"

# Apply patches
if [ "$bool_COPY_PKG_SRC" = "y" ]; then
  echo -e "${CLightPurple}Applying Kate save all patch${CNone}"
  patch -p2 < "$HOOK_DIR/$PKG_NAME/018_kate_save_all.diff"

  echo -e "${CLightPurple}Applying SAK patch${CNone}"
  patch -p1 < "$HOOK_DIR/$PKG_NAME/tdebase-usesak.diff"
fi

cd "$CURR_DIR"
return 0