blob: 780324b99bca43c6fbe0ad5a8b2916b66c1507cd (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
# Must be run as root.
USERNAME=hex-zero
# install short_url for the user only
if ! /var/www/hex-zero/check-for-short_url.sh 1>/dev/null 2>&1 ;
then
su ${USERNAME} -s /bin/sh -c 'pip3 install --user short_url'
fi
|