diff options
author | samoht9277 | 2023-09-07 18:00:27 -0300 |
---|---|---|
committer | samoht9277 | 2023-09-07 18:00:27 -0300 |
commit | 3bd0a6a585f669466679b10d383e422b9a96fc7b (patch) | |
tree | a3d1e4600109514943f2dc7119b95cdc648af8c4 /PKGBUILD | |
parent | cc334c5c392bbacb4847a9826222ee3e7d3b00ed (diff) | |
download | aur-3bd0a6a585f669466679b10d383e422b9a96fc7b.tar.gz |
Removed automatic variable export.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -31,11 +31,5 @@ package() { mv cairo-$pkgver$release/target/release/$pkg $pkgdir/usr/bin/ done - add_to_config -} - -add_to_config() { - declare -A shells=(["bash"]=".bashrc" ["fish"]=".config/fish/config.fish" ["zsh"]=".zshrc") - - echo "export CARGO_MANIFEST_DIR=\"/usr/lib/corelib/\"" >>/home/$USER/${shells[$(basename $(echo $SHELL))]} + echo "Please export the variable CARGO_MANIFEST_DIR=/usr/lib/corelib/ to your shell's config file." } |