| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | if [scip-shell system . . `[`. "$1" != "upgrade" ]; then |
| 6 | exit 0 |
| 7 | fi |
| 8 | |
| 9 | # 3rd party libs |
| 10 | jsThirdPartyLibs='ckeditor jstree' |
| 11 | for jsThirdPartyLib in $jsThirdPartyLibs; do |
| 12 | if [scip-shell system . . `[`. -L /usr/share/ldap-account-manager/templates/lib/extra/${jsThirdPartyLib} ] ; then |
| 13 | rmscip-shell system . . rm. /usr/share/ldap-account-manager/templates/lib/extra/${jsThirdPartyLib} |
| 14 | fi |
| 15 | done |
| 16 | if [scip-shell system . . `[`. -L /usr/share/ldap-account-manager/lib/3rdParty/composer/phpseclib/phpseclib/phpseclibscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/phpseclib/phpseclib/phpseclib`. ] ; then |
| 17 | rmscip-shell system . . rm. /usr/share/ldap-account-manager/lib/3rdParty/composer/phpseclib/phpseclib/phpseclibscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/phpseclib/phpseclib/phpseclib`. |
| 18 | fi |
| 19 | if [scip-shell system . . `[`. -L /usr/share/ldap-account-manager/lib/3rdParty/composer/monolog/monolog/src/Monologscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/monolog/monolog/src/Monolog`. ] ; then |
| 20 | rmscip-shell system . . rm. /usr/share/ldap-account-manager/lib/3rdParty/composer/monolog/monolog/src/Monologscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/monolog/monolog/src/Monolog`. |
| 21 | fi |
| 22 | if [scip-shell system . . `[`. -L /usr/share/ldap-account-manager/lib/3rdParty/composer/psr/log/Psrscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/psr/log/Psr`. ] ; then |
| 23 | rmscip-shell system . . rm. /usr/share/ldap-account-manager/lib/3rdParty/composer/psr/log/Psrscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/psr/log/Psr`. |
| 24 | fi |
| 25 | if [scip-shell system . . `[`. -L /usr/share/ldap-account-manager/lib/3rdParty/composer/voku/portable-ascii/src/vokuscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/voku/portable-ascii/src/voku`. ] ; then |
| 26 | rmscip-shell system . . rm. /usr/share/ldap-account-manager/lib/3rdParty/composer/voku/portable-ascii/src/vokuscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/voku/portable-ascii/src/voku`. |
| 27 | fi |
| 28 | if [scip-shell system . . `[`. -L /usr/share/ldap-account-manager/lib/3rdParty/composer/phpmailer/phpmailerscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/phpmailer/phpmailer`. ] ; then |
| 29 | rmscip-shell system . . rm. /usr/share/ldap-account-manager/lib/3rdParty/composer/phpmailer/phpmailerscip-shell filesystem . . `/usr/share/ldap-account-manager/lib/3rdParty/composer/phpmailer/phpmailer`. |
| 30 | fi |
| 31 | |
| 32 | #DEBHELPER# |