if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
( cd usr/bin ; rm -rf apm )
( cd usr/bin ; ln -sf ../share/atom/resources/app/apm/node_modules/.bin/apm apm )
( cd usr/doc/atom-1.23.3/docs ; rm -rf contributing.md )
( cd usr/doc/atom-1.23.3/docs ; ln -sf ../CONTRIBUTING.md contributing.md )
( cd usr/share/atom/resources/app/apm/node_modules/season/node_modules/.bin ; rm -rf coffee )
( cd usr/share/atom/resources/app/apm/node_modules/season/node_modules/.bin ; ln -sf ../coffee-script/bin/coffee coffee )
( cd usr/share/atom/resources/app/apm/node_modules/season/node_modules/.bin ; rm -rf cake )
( cd usr/share/atom/resources/app/apm/node_modules/season/node_modules/.bin ; ln -sf ../coffee-script/bin/cake cake )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf node-gyp )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../node-gyp/bin/node-gyp.js node-gyp )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf uuid )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../uuid/bin/uuid uuid )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf opener )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../opener/opener.js opener )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf sshpk-sign )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../sshpk/bin/sshpk-sign sshpk-sign )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf sshpk-conv )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../sshpk/bin/sshpk-conv sshpk-conv )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf mkdirp )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../mkdirp/bin/cmd.js mkdirp )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf coffee )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../coffee-script/bin/coffee coffee )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf rimraf )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../rimraf/bin.js rimraf )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf semver )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../semver/bin/semver semver )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf sshpk-verify )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../sshpk/bin/sshpk-verify sshpk-verify )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf apm )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../../bin/apm apm )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf window-size )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../window-size/cli.js window-size )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf asar )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../asar/bin/asar asar )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf npm )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../npm/bin/npm-cli.js npm )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf which )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../which/bin/which which )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf decompress-zip )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../decompress-zip/bin/decompress-zip decompress-zip )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf ncp )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../ncp/bin/ncp ncp )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf csonc )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../season/bin/csonc csonc )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf cake )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../coffee-script/bin/cake cake )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; rm -rf nopt )
( cd usr/share/atom/resources/app/apm/node_modules/.bin ; ln -sf ../nopt/bin/nopt.js nopt )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; rm -rf node-gyp )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; ln -sf ../node-gyp/bin/node-gyp.js node-gyp )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; rm -rf rimraf )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; ln -sf ../rimraf/bin.js rimraf )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; rm -rf semver )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; ln -sf ../semver/bin/semver semver )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; rm -rf which )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/.bin ; ln -sf ../which/bin/which which )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin ; rm -rf sshpk-sign )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin ; ln -sf ../sshpk/bin/sshpk-sign sshpk-sign )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin ; rm -rf sshpk-conv )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin ; ln -sf ../sshpk/bin/sshpk-conv sshpk-conv )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin ; rm -rf sshpk-verify )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin ; ln -sf ../sshpk/bin/sshpk-verify sshpk-verify )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/.bin ; rm -rf har-validator )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/.bin ; ln -sf ../har-validator/bin/har-validator har-validator )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/.bin ; rm -rf uuid )
( cd usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/node_modules/.bin ; ln -sf ../node-uuid/bin/uuid uuid )
