summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLahvuun2017-04-05 20:56:02 +0300
committerLahvuun2017-04-05 20:56:02 +0300
commiteb58a136d7b0385eff4bac062d27f4f9908f1e03 (patch)
treec6ee3a62dcaccd912d3d4319516095db34823280
parentdd7951da404368b3d9600aa0b508d1b9c06642cb (diff)
downloadaur-eb58a136d7b0385eff4bac062d27f4f9908f1e03.tar.gz
Use a symlink instead of copying to save space
-rw-r--r--BetterDiscord.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/BetterDiscord.install b/BetterDiscord.install
index f7f17461df6..7eaa9b1631a 100644
--- a/BetterDiscord.install
+++ b/BetterDiscord.install
@@ -13,7 +13,7 @@ post_install() {
sudo mv "/usr/lib/betterdiscord/index.js" "/opt/discord/resources/app/index.js"
echo ">>> Finishing up..."
- sudo cp -rf "/usr/lib/betterdiscord/" "/opt/discord/resources/app/node_modules/betterdiscord"
+ sudo ln -s "/usr/lib/betterdiscord/" "/opt/discord/resources/app/node_modules/betterdiscord"
}
pre_upgrade() {