blob: d37f33b89ff29ce629a4ed6231986583ca765f70 (
plain)
1
2
3
4
5
6
7
8
9
|
post_install() {
getent group qb64 &> /dev/null || groupadd qb64
chgrp -R qb64 /opt/qb64/internal
echo -e "\e[1;33m" # yellow
echo 'To use QB64, you must be a member of the qb64 group.'
echo "Run \`usermod $(logname) -a -G qb64`` to add your user to the group,"
echo 'then log out and log back in.'
echo -e "\e[1;0m" # default
}
|