diff --git a/src/pam_panic_config/icons/scalable/Makefile.am b/src/pam_panic_config/icons/scalable/Makefile.am index 2e35548..1058130 100644 --- a/src/pam_panic_config/icons/scalable/Makefile.am +++ b/src/pam_panic_config/icons/scalable/Makefile.am @@ -3,5 +3,4 @@ appicon_DATA=pampanic.svg pixmapsdir=$(datadir)/pixmaps install-exec-hook: - $(MKDIR_P) $(pixmapsdir) - $(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg + test -L $(pixmapsdir)/pampanic.svg && echo "Symlink exists" || { $(MKDIR_P) $(pixmapsdir) ; $(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg ; } diff --git a/src/pam_panic_config/pam_panic_config.prebuild b/src/pam_panic_config/pam_panic_config.prebuild index ab559bf..5c3d079 100755 --- a/src/pam_panic_config/pam_panic_config.prebuild +++ b/src/pam_panic_config/pam_panic_config.prebuild @@ -283,14 +283,29 @@ fi clear [ $writeout -eq 0 ] && echo "Done! <3" || echo "Nothing done!