From: Volker E Date: Wed, 11 Apr 2018 08:05:18 +0000 (-0700) Subject: Reflect Apex icon removal in update script X-Git-Tag: 1.31.0-rc.0~125^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=e39c52c3ef11bda3a7cabd4473b85450cccff3d2;p=lhc%2Fweb%2Fwiklou.git Reflect Apex icon removal in update script Reflecting icon removal of Apex theme and pointer to WikimediaUI theme introduced in I0bda435ebef1ca66c9da8f71e4626005cd7d934b Change-Id: Id1fd43232c1c69d9430f99221c14871699a93a5d --- diff --git a/maintenance/resources/update-ooui.sh b/maintenance/resources/update-ooui.sh index 673d5070c8..fc8a0e9d47 100755 --- a/maintenance/resources/update-ooui.sh +++ b/maintenance/resources/update-ooui.sh @@ -11,7 +11,7 @@ fi REPO_DIR=$(cd "$(dirname $0)/../.."; pwd) # Root dir of the git repo working tree TARGET_DIR="resources/lib/oojs-ui" # Destination relative to the root of the repo -NPM_DIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'update-oojs-ui') # e.g. /tmp/update-oojs-ui.rI0I5Vir +NPM_DIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'update-ooui') # e.g. /tmp/update-ooui.rI0I5Vir # Prepare working tree cd "$REPO_DIR" @@ -72,13 +72,6 @@ cp ./node_modules/oojs-ui/dist/themes/wikimediaui/images/textures/*.{gif,svg} "$ cp ./node_modules/oojs-ui/src/themes/wikimediaui/*.json "$REPO_DIR/$TARGET_DIR/themes/wikimediaui" # Apex theme icons, indicators, and textures -mkdir -p "$REPO_DIR/$TARGET_DIR/themes/apex/images/icons" -cp ./node_modules/oojs-ui/dist/themes/apex/images/icons/*.{svg,png} "$REPO_DIR/$TARGET_DIR/themes/apex/images/icons" -mkdir -p "$REPO_DIR/$TARGET_DIR/themes/apex/images/indicators" -cp ./node_modules/oojs-ui/dist/themes/apex/images/indicators/*.{svg,png} "$REPO_DIR/$TARGET_DIR/themes/apex/images/indicators" -mkdir -p "$REPO_DIR/$TARGET_DIR/themes/apex/images/textures" -cp ./node_modules/oojs-ui/dist/themes/apex/images/textures/*.{gif,svg} "$REPO_DIR/$TARGET_DIR/themes/apex/images/textures" - cp ./node_modules/oojs-ui/src/themes/apex/*.json "$REPO_DIR/$TARGET_DIR/themes/apex" # WikimediaUI LESS variables for sharing