<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    use
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <b class="COMMAND" style="color: rgb(0, 0, 0); font-family: 'Times
      New Roman'; font-size: medium; font-style: normal; font-variant:
      normal; letter-spacing: normal; line-height: normal; orphans:
      auto; text-align: start; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255);">%preun</b><span style="color: rgb(0, 0, 0); font-family:
      'Times New Roman'; font-size: medium; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: normal; orphans: auto; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;"><span class="Apple-converted-space"> </span><big>and</big><span
        class="Apple-converted-space"> </span></span><b class="COMMAND"
      style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
      font-size: medium; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: normal; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255);">%postun</b> scriptlets, but its not allowed in harbour :D<br>
    <br>
    <div class="moz-cite-prefix">On 14.03.2014 13:43, Iosif Hamlatzis
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAD2f6zUmp5mc1MkVcDid8PoqYK7hbOwn6KOc6Qevj=kdQTws8w@mail.gmail.com"
      type="cite">
      <div dir="ltr">I cannot use the %ghost directive as I don't know
        the names of the data files that will be created during runtime,
        can I use the %ghost directive with wildcards?. Also the folder
        I store my data files according to this link <a
          moz-do-not-send="true"
          href="https://harbour.jolla.com/faq#2.14.0">https://harbour.jolla.com/faq#2.14.0</a>
        is $XDG_DATA_HOME/<MyGameName> when I added in my .spec
        file packaging failed and according to the above link it states 
        <div>
          <br>
        </div>
        <div>"<span style="color:rgb(40,127,147);font-family:'Source
            Sans Pro',sans-serif;font-size:14px;line-height:20px">You
            must not hardcode </span><b
            style="color:rgb(40,127,147);font-family:'Source Sans
            Pro',sans-serif;font-size:14px;line-height:20px"><tt>/home/nemo/</tt></b><span
            style="color:rgb(40,127,147);font-family:'Source Sans
            Pro',sans-serif;font-size:14px;line-height:20px"> or </span><b
            style="color:rgb(40,127,147);font-family:'Source Sans
            Pro',sans-serif;font-size:14px;line-height:20px"><tt>$HOME/.config/</tt></b><span
            style="color:rgb(40,127,147);font-family:'Source Sans
            Pro',sans-serif;font-size:14px;line-height:20px">, etc. -
            use the Qt 5 QStandardPaths, GLib convenience methods or the
            xdg-helper library to determine the paths. This will make
            sure your application keeps working for sandboxed use cases,
            multi-user use cases as well as multi-profile single-user
            use cases.</span>"</div>
        <div>
          <div><br>
          </div>
          <div><br>
            <div>So which is the proper way to have the folders <b
                style="color:rgb(40,127,147);font-family:'Source Sans
                Pro',sans-serif;font-size:14px;line-height:20px"><tt>$XDG_CONFIG_HOME/<HARBOUR_APP_NAME></tt></b> 
               and    <b
                style="color:rgb(40,127,147);font-family:'Source Sans
                Pro',sans-serif;font-size:14px;line-height:20px"><tt>$XDG_DATA_HOME/<HARBOUR_APP_NAME></tt></b>  
               and  <b style="color:rgb(40,127,147);font-family:'Source
                Sans Pro',sans-serif;font-size:14px;line-height:20px"><tt>$XDG_CACHE_HOME/<HARBOUR_APP_NAME></tt></b>  
                 removed automatically when removing my game?</div>
            <div><br>
            </div>
            <div>These three folders aren't automatically created on
              installation and as I understand I have to create them at
              run-time on my first run if I want to use them.</div>
            <div><br>
            </div>
          </div>
        </div>
        <div class="gmail_extra">
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
    </blockquote>
    <br>
  </body>
</html>