diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 47 |
1 files changed, 0 insertions, 47 deletions
@@ -1,47 +0,0 @@ -post_install() { - # Adding all users to the input group - for user in `ls /home` - do - gpasswd -a $user input - done - - # Create the link to the binary - ln -sf '/opt/shadowbeta/shadow-wrapper.pl' '/usr/bin/shadow-beta' - - ## Fix fonts - - # # Truetype directory exists (not a symlink !) - # if [ -d /usr/share/fonts/truetype ]; then - # - # # Create TTF folder if not exists - # if [ ! -d /usr/share/fonts/TTF ]; then - # mkdir /usr/share/fonts/TTF - # fi - # - # # Move everything in the TTF folder - # mv /usr/share/fonts/truetype/* /usr/share/fonts/TTF/ - # rm -R /usr/share/fonts/truetype - # fi - # - # # Create a symlink to TTF folder - # if [ ! -e /usr/share/fonts/truetype ]; then - # ln -sf "/usr/share/fonts/TTF" "/usr/share/fonts/truetype" - # fi -} - -post_remove() { - # Remove configuration - for user in `ls /home` - do - if [ -d /home/$user/.config/Shadow\ Beta ]; then - rm -R /home/$user/.config/Shadow\ Beta - fi - done -} -pre_upgrade(){ - rm -r "/opt/Shadow Beta" -} - -post_upgrade(){ - ln -sf '/opt/shadowbeta/shadow-wrapper.pl' '/usr/bin/shadow-beta' -} |