<commit_before>#!/bin/sh

set -e

ln -sf /proc/self/fd /dev

pacman -Sy --noconfirm --asdeps --needed base-devel
yaourt -Sy --noconfirm owncloud php-intl php-mcrypt php-pgsql php-xcache exiv2 php-fpm dcron ca-certificates

mkdir -p /data/config
#ln -sf /data/config /usr/share/webapps/owncloud

cp -rv /build/config/nginx /etc
cp -rv /build/config/php /etc
cp -rv /build/config/owncloud/* /etc/webapps/owncloud/config
cp -rv /build/config/cron/* /etc/cron.d

cp -v /build/src/errorlog.php /usr/share/webapps/owncloud/lib/private/log

mkdir -p /etc/initrc.d
cp -v /build/initrc.d/* /etc/initrc.d

rm -rf /build

pacman -Rns --noconfirm $(pacman -Qqtd)
pacman -S -cc --noconfirm
rm -rf /var/cache/pacman/pkg
<commit_msg>[owncloud] Use the yaourt user to install aur packages<commit_after>#!/bin/sh

set -e

ln -sf /proc/self/fd /dev

pacman -Sy --noconfirm --asdeps --needed base-devel
sudo -u yaourt yaourt -Sy --noconfirm owncloud php-intl php-mcrypt php-pgsql php-xcache exiv2 php-fpm dcron ca-certificates

mkdir -p /data/config
#ln -sf /data/config /usr/share/webapps/owncloud

cp -rv /build/config/nginx /etc
cp -rv /build/config/php /etc
cp -rv /build/config/owncloud/* /etc/webapps/owncloud/config
cp -rv /build/config/cron/* /etc/cron.d

cp -v /build/src/errorlog.php /usr/share/webapps/owncloud/lib/private/log

mkdir -p /etc/initrc.d
cp -v /build/initrc.d/* /etc/initrc.d

rm -rf /build

pacman -Rns --noconfirm $(pacman -Qqtd)
pacman -S -cc --noconfirm
rm -rf /var/cache/pacman/pkg

{'fraction_non_alphanumeric': 0.153485254691689, 'fraction_numerical': 0.0013404825737265416, 'mean_word_length': 2.9186351706036744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7345480', 'n_tokens_mistral': 653, 'n_tokens_neox': 612, 'n_words': 159}