<commit_before>#!/bin/bash
wget https://github.com/FoxUSA/OpenNote/releases/download/14.07.02/OpenNote.zip -P /app/~upgrade/

#Unpack the new version except config and install files
unzip -o /app/~upgrade/OpenNote.zip -d /app -x *openNote.config.js *Service/Config.* *Service/install.php

#Re permission
chmod 755 /app -R
chown www-data:www-data /app -R
chmod 755 /*.sh

#Delete OpenNote.zip and self
rm -r /app/~upgrade<commit_msg>Better again<commit_after>#!/bin/bash
wget https://github.com/FoxUSA/OpenNote/releases/download/14.07.02/OpenNote.zip -P /app/~upgrade/

#Unpack the new version except config and install files
unzip -o /app/~upgrade/OpenNote.zip -d /app -x openNote/openNote.config.js Service/Config.* Service/install.php

#Change version number in GUI
sed -i 's/14.07.01/14.07.02/g' /app/openNote/openNote.config.js

#Re permission
chmod 755 /app -R
chown www-data:www-data /app -R
chmod 755 /*.sh

#Delete OpenNote.zip and self
rm -r /app/~upgrade
{'fraction_non_alphanumeric': 0.14315352697095435, 'fraction_numerical': 0.03734439834024896, 'mean_word_length': 3.730392156862745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7628162', 'n_tokens_mistral': 395, 'n_tokens_neox': 350, 'n_words': 95}