apiVersion: v1 data: pp.sh: | #!/bin/bash set -e cd "$SAB_COMPLETE_DIR" if [ $SAB_UNPACK -eq 0 ];then echo Skipping Extra Unpack exit 0 fi if [ $SAB_UNPACK -ne 0 ];then find . -name '*.part01.rar' -exec unrar x {} + find . -name '*.zip' -exec unzip {} + fi kind: ConfigMap metadata: creationTimestamp: null name: sabnzbd-scripts namespace: sabnzbd